Add The World Net Radio's music player to your page or room!


Copy and paste the html code to your web page.

1.  Below on the script, I have highlighted the background in red, where you need to chance the music port.
2.  You must change the port, to the genre you want to start, when you enter the page.
3.  The ports are listed on the top of this script, highlighted with blue background.
4.  Example:  8688 > "The World Net Radio" Blues Music << is the port for Blues Music.
 


Home Page
 

<SCRIPT language=JavaScript>

var streams = new Array();

streams[0] = new makeStream("http://theworldnetradio.com:10053", "The World Net Radio - Stream Select");

streams[1] = new makeStream("http://theworldnetradio.com:8692", "The World Net Radio - Alternative Music");

streams[2] = new makeStream("http://theworldnetradio.com:8688", "The World Net Radio - Blues Music");

streams[3] = new makeStream("http://theworldnetradio.com:8694", "The World Net Radio - Country Music");

streams[4] = new makeStream("http://theworldnetradio.com:10053", "The World Net Radio - English Mix Side");

streams[5] = new makeStream("http://theworldnetradio.com:10051", "The World Net Radio - Latin Music");

streams[6] = new makeStream("http://theworldnetradio.com:8007", "The World Net Radio - Oldies Music");

streams[7] = new makeStream("http://theworldnetradio.com:10048", "The World Net Radio - Rock & Roll Music");

streams[8] = new makeStream("http://theworldnetradio.com:8702", "The World Net Radio - 80's & 90's Music");

streams[9] = new makeStream("http://theworldnetradio.com:8696", "The World Net Radio - Party Line One");

streams[10] = new makeStream("http://theworldnetradio.com:8698", "The World Net Radio - Party Line Two");


function makeStream(url, name) {



this.url = url;



this.name = name;

}









function handleControlsOnOffClick() {

if (document.MediaPlayer1.showControls == true) {

document.MediaPlayer1.showControls = false;

document.playerCtrl.controls.value = "";

}

else {

document.MediaPlayer1.showControls = true;

document.playerCtrl.controls.value = ""

}

}

function handlePlayOrPauseClick(){

var state;

playerStatus = document.MediaPlayer1.playState;

if (playerStatus == 13) {

document.MediaPlayer1.play();

document.playerCtrl.playOrPause.value = "";

}

else if (playerStatus == 1) {

document.MediaPlayer1.play();

document.playerCtrl.playOrPause.value = "";

}

else if (playerStatus == 2) {

document.MediaPlayer1.pause();

document.playerCtrl.playOrPause.value = "";

}

}

function changeSize(newSize) {

document.MediaPlayer1.displaySize = newSize;

}


function change() {

var list = document.playerCtrl.streams;

var streamURL = list.options[list.selectedIndex].value;

document.MediaPlayer1.stop();

document.MediaPlayer1.fileName = streamURL;

}



</SCRIPT>
<OBJECT id=MediaPlayer1

codeBase=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,7,1112

type=application/x-oleobject height=50 width=285

classid=CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95>
<param name="AudioStream" value="1">
<param name="AutoSize" value="0">
<param name="AutoStart" value="1">
<param name="AnimationAtStart" value="1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value="1">
<param name="ClickToPlay" value="1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="-1">
<param name="CurrentMarker" value="0">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="-1">
<param name="EnablePositionControls" value="-1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="-1">
<param name="Filename" value="http://theworldnetradio.com:10053">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="1">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="1">
<param name="ShowControls" value="-1">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="0">
<param name="ShowGotoBar" value="0">
<param name="ShowPositionControls" value="-1">
<param name="ShowStatusBar" value="-1">
<param name="ShowTracker" value="-1">
<param name="TransparentAtStart" value="0">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="0">
<param name="WindowlessVideo" value="0">
</OBJECT>
</p>
<TABLE width=100 height=2 border=0 align="center" cellPadding=0 cellSpacing=0 borderColor="#000000"

bgColor="#000000"summary="" id="table6">
<FORM name=playerCtrl>


<div align="center">
<TABLE borderColor="#000000" height=2 cellSpacing=0 cellPadding=0 width=100

bgColor="#000000" summary="" border=1 bordercolorlight="#000000" bordercolordark="#000000" style="border-collapse: collapse" id="table7">
<TBODY>
<TR>
<TD align=middle bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#000000" style="font-family: Arial, Helvetica, sans-serif; font-size: 10px; color: #FF0000"><DIV

style="FONT-SIZE: 10pt; OVERFLOW: hidden; WIDTH: 126px; COLOR: #feb2b2; FONT-FAMILY: Ernest; TEXT-ALIGN: center"

align=center border="1pt" #FEB2B2?> </FONT></DIV> </TR>
</TBODY>
</TABLE>
<SCRIPT language=JavaScript>

with (document) {writeln('<SELECT NAME="streams" onChange="change()" style="font-family:Arial; font-size:7pt; background-color:#000000; color:#C0C0C0; border: inset;">'); for (var i = 0; i < streams.length; i++) {writeln('<OPTION VALUE="', streams[i].url, '">', streams[i].name);}writeln('</SELECT>');

}

</SCRIPT>