How to embed your radio in a website <object id='mediaPlayer1' width="376" height="50" classid='clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6' codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701' standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'> <param name='fileName' value="http://ip:port" /> <param name='animationatStart' value='true' /> <param name='transparentatStart' value='true' /> <param name='autoStart' value="false" /> <param name='showControls' value="true" /> <param name ="ShowAudioControls"value="true" /> <param name="ShowStatusBar" value="true" /> <param name='loop' value="false" /> <embed type='application/x-mplayer2' pluginspage='http://microsoft.com/windows/mediaplayer/en/download/' id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1' bgcolor='darkblue' showcontrols="true" showtracker='-1' showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="376" height="50" src="http://ip:port" autostart="true" designtimesp='5311' loop="false"> </embed> </object>
In this tutorial we will explain how to embed your radio on the listen2myradio premium service.
If you use our premium service, the process of embedding is simple and takes 3 minutes or so.
You need:
First of all you should get your IP and Port, you can find these in the email you received from listen2myradio or in your CentovaCast control panel.
•Your premium IP and Port
•Embed code
•Text editor
Once you get your port and ip just open a text editor and copy the following code into it:
<html >
<head>
</head>
Example:
http://62.113.22.218:8110
The various parameters in this code can be used to change the function of the player some examples are:
WIDTH=
HEIGHT=
These are pretty self-explanatory , they determine the width and height of the player in pixels…
You can leave all of these at their default settings but you can also turn them on/off by setting a 0 or 1 at most of them (1 for on/0 for off)