View Full Version : Javascript Radio +Rep
Jack!
19-06-2010, 05:30 PM
just wondered how you would go around doing one?
like habbox radio player
+rep for anyhelp
Cohen
19-06-2010, 07:33 PM
Its easy the habbox radio player is actually downloaded if you would like it pm me
Trinity
19-06-2010, 07:56 PM
Its easy the habbox radio player is actually downloaded if you would like it pm me
Why couldn't you just post it here? Or just PM him yourself?
Posts like this annoy me.
I'm not sure what you're after. Do you mean control the radio player with javascript? If so, try this - http://www.mioplanet.com/rsc/embed_mediaplayer.htm (right at the bottom)
Well, you can't really stream shoutcast via javascript.
You can use a flash radio player that has javascript controls :)
Cohen
19-06-2010, 08:04 PM
i will post when i get on my main pc that should be a few hrs.
Cohen
19-06-2010, 08:32 PM
Okay download http://www.habblo.net/flash_player.zip then ope up playlist.xspf it should look like
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="0" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>YOUR RADIO ADDRESS/;stream.nsv</location>
<annotation>YOUR RADIO STATION</annotation>
</track>
</trackList>
</playlist>
Replace YOUR RADIO ADDRESS with the URL to your shoutcast DNS page like 11.38.34.544:7002 and leave the /;stream.nsv Then Replace YOUR RADIO STATION with what your want to display on the player.
Then open player.html it should be
<object type="application/x-shockwave-flash" width="160" height="15" data="xspf_player_slim.swf?playlist_url=playlist.xspf&autoplay=true&volume_level=45"><param name="movie" value="xspf_player_slim.swf?playlist_url=playlist.xspf&autoplay=true&volume_level=40" /><param name="autoplay" value="true"/><param name="quality" value="high"/>
</object> Change the height and width if you would like then test it out. Tell me if you need any more help.
Want to hide these adverts? Register an account for free!
Powered by vBulletin® Version 4.2.5 Copyright © 2025 vBulletin Solutions Inc. All rights reserved.