Embed Code

How to embed your radio in a website

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:

•Your premium IP and Port
•Embed code
•Text editor
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.
Once you get your port and ip just open a text editor and copy the following code into it:

<html >

<object id='mediaPlayer1' width="376" height="50"



  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'


  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>


<body> </body> </html>
Where you see ip:port here you are suppose to add your iP and port there

Then save this file as name.html and open that file in a browser, your should see a media player in the window and you should be able to play your stream by pressing the “Play” button
The various parameters in this code can be used to change the function of the player some examples are:
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)


  • 259 Users Found This Useful
Was this answer helpful?

Related Articles

CenotvaCast Basic Configuration

CenotvaCast Basic ConfigurationIn this tutorial we will explain how to setup the CentovaCast...

Broadcasting with SHOUTcast Radio DSP plug-in

Broadcasting with SHOUTcast Radio DSP plug-inIn this tutorial we will expalin how to start...

Auto-DJ and media handling

Auto-DJ and media handlingOur premium packages come with a feature called...

Broadcasting with Virtual DJ

Broadcasting with Virtual DJIn this tutorial we will explain how to start broadcasting using...

Broadcasting with SAM Broadcaster

Broadcasting with SAM BroadcasterIn this tutorial we will explain how to start broadcasting...