Log in

View Full Version : How do you put a radio on a site.



Unregistered
19-02-2007, 12:35 AM
Some official sites are radio official sites. I want to put a radio on my site. How?

Thread Moved by J1MI (Super Moderator) - From Habbox help desk, please post in the correct section next time.

Replicada
19-02-2007, 01:35 AM
Radios are attached to stes through the embedding of a media player that connects to the server of which the music is broadcasting from.

This is the HTML code to embed the media player, workins in firefox and Internet Explorer:


<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1" width="100%" height="40">
<param NAME="URL" VALUE="http://replicada.com:8000/" ref>
<param NAME="rate" VALUE="1">
<param NAME="balance" VALUE="0">
<param NAME="currentPosition" VALUE="0">
<param NAME="defaultFrame" VALUE>
<param NAME="playCount" VALUE="1">
<param NAME="autoStart" VALUE="-1">
<param NAME="currentMarker" VALUE="0">
<param NAME="invokeURLs" VALUE="-1">
<param NAME="volume" VALUE="100">
<param NAME="mute" VALUE="0">
<param NAME="uiMode" VALUE="mini">
<param NAME="stretchToFit" VALUE="0">
<param NAME="windowlessVideo" VALUE="0">
<param NAME="enabled" VALUE="-1">
<param NAME="enableContextMenu" VALUE="-1">
<param NAME="fullScreen" VALUE="0">
<embed type="application/x-mplayer2" src="http://replicada.com:8000/" width="100%" height="45"></embed>
</object>

Obviously replcae the Replicada.com parts with your broadcast Address/IP and port.

For Example

www.shoutcast.com:8000
Broadcast address: www.shoutcast.com
Port: 8000

If you are still confused, refer to my tutorial thread here:
http://habboxforum.com/showthread.php?t=315253

Hope I helepd :)

Andeeh
21-02-2007, 10:16 PM
Nice Tutorial + Code. You Can Have +Rep!

Chubba
21-02-2007, 11:12 PM
you could glue the radio to the screen, but not everybody will see it...

Want to hide these adverts? Register an account for free!