jesska17
08-05-2004, 09:42 AM
hey! ive got a xanga site (http://www.xanga.com/jesska17) and im tryin to put this music player on there that plays bout 15 songs..so i have 2 html codes and i put all the info in but it wont play. heres the codes:
<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<!--
// modified to eliminate 'undefined' error by micron
// for more xanga scripts and help go to createblog.com
ctips = new Array();
ctips[0]="the taste of ink [the used]";
ctips[1]="you know how i do[taking back sunday]";
ctips[2]="rollercoaster [blink 182]";
ctips[3]="reptilia [the strokes]";
ctips[4]=”the best of me [starting line]”;
ctips[5]=”head around you [offspring]”;
ctips[6]=”dress to kill [new found glory]”;
ctips[7]=”fuct up kid [mest]”;
ctips[8]=”my sharona [the knack]”;
ctips[9]=”i miss you [incubus]”;
ctips[10]=”good riddance (time of your life) [greenday]”;
ctips[11]=”letters to you [finch]”;
ctips[12]=”there is [boxcar racer]”;
ctips[13]=”emily [bowling for soup]”;
ctips[14]=”this diary [the ataris]”;
ctips[15]=”too far gone [all-american rejects]”;
ctips[16]=”amber [311]”;
tips = new Array();
tips[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23173/26069_1_2_04.asf";
tips[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24366/27330_1_1_04.asf"; tips[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_8_04.asf";
tips[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/20682/28452_1_2_04.asf";
tips[4]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23755/23896_1_4_04.asf";
tips[5]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_6_04.asf";
tips[6]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/16453/17430_1_2_04.asf";
tips[7]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/14806/24124_1_6_04.asf";
tips[8]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/62/1431_1_7_04.asf";
tips[9]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2239/9775_1_11_04.asf";
tips[10]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/301/24090_1_15_04.asf";
tips[11]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24365/27329_1_2_04.asf";
tips[12]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22864/26484_1_10_04.asf";
tips[13]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/11456/26676_1_2_04.asf";
tips[14]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/5490/27368_1_3_04.asf";
tips[15]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_8_04.asf";
tips[16]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/187/22139_1_10_04.asf";
index=Math.floor(Math.random() * tips.length);
document.write("<center><embed src="+tips[index]+" width=0 height=0 align=top autostart=true loop=true controls=hidden type=audio/x-pn-realaudio-plugin exts=ra,ram Init fn=load-types mime-types=mime.types></embed></center>")
document.write("<center><font color=#000000>"+ctips[index]+"</center>")
file://-->
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->
<!-- from xanga.com/html_scripts
<!-- Updated Playlist : Found at Blogring.net -->
<table border="1" cellspacing="0" cellpadding="4" width="25%" class="left"><tr><th valign="top" align="center" class="left"><b>Music</th></tr><tr><td valign="top" class="left"><font face="Chiller" style="font-variant: small-caps;" color="purple" size=2><b>Music Player...</b></font>
<object id="CPplayer1" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="1">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide"> \
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">
<select style="FONT-SIZE: 10pt; BACKGROUND:#000000; border: 2px solid purple; WIDTH: 100%; height: 25px; COLOR: silver; font-face: verdana;" name="food for your ears" size="3">
<option value="0">the taste of ink [the used]</option>
<option value="1">you know how i do[taking back sunday]</option>
<option value="2">rollercoaster [blink 182]</option>
<option value="3">reptilia [the strokes]</option>
<option value="4">the best of me [starting line]</option>
<option value="5">head around you [offspring]</option>
<option value="6">dress to kill [new found glory]</option>
<option value="7">fuct up kid [mest]</option>
<option value="8">my sharona [the knack]</option>
<option value="9">i miss you [incubus]</option>
<option value="10">good riddance (time of your life) [greenday]</option>
<option value="11">letters to you [finch]</option>
<option value="12">there is [boxcar racer]</option>
<option value="13">emily [bowling for soup]</option>
<option value="14">this diary [the ataris]</option>
<option value="15">too far gone [all-american rejects]</option>
<option value="16">amber [311]</option>
</select></p>
</form>
<a onclick="play(document.forms['form'].playlist);">
<img src="http://www.imageshack.us/img1/51/playbtn.PNG" border="0" name="butplay" width="15" height="15"></a>
<a onclick="document.CPplayer1.Pause(); playstate=2;">
<img src="http://imageshack.us/img1/3707/pausebtn.PNG" border="0" name="butpause" width="15" height="15"></a>
<a onclick="document.CPplayer1.Stop(); playstate=2;">
<img src="http://www.imageshack.us/img1/2434/stopbtn.PNG" border="0" name="butstop" width="15" height="15"></a></td>
<script language="JavaScript">
<!--function SymError()
{ return true; }
window.onerror = SymError;
//-->
</script>
<script language="JavaScript">
<!-- var playstate = 1;
shuffle = 1; // set to 0 to always play first song in list
// set to 1 to randomly choose the first song to play
songs=new Array();
songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23173/26069_1_2_04.asf
";
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24366/27330_1_1_04.asf";
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_8_04.asf";
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/20682/28452_1_2_04.asf";
songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23755/23896_1_4_04.asf";
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_6_04.asf";
songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/16453/17430_1_2_04.asf";
songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/14806/24124_1_6_04.asf";
songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/62/1431_1_7_04.asf";
songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2239/9775_1_11_04.asf";
songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/301/24090_1_15_04.asf";
songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24365/27329_1_2_04.asf";
songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22864/26484_1_10_04.asf";
songs[13]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/11456/26676_1_2_04.asf";
songs[14]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/5490/27368_1_3_04.asf";
songs[15]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_8_04.asf";
songs[16]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/187/22139_1_10_04.asf";
if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length);
document.CPplayer1.FileName = songs[randsg];
document.CPplayer1.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.CPplayer1.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.CPplayer1.FileName = songs[snum];
document.CPplayer1.scr = songs[snum];
}
playstate = 1;
}
//-->
</script></td></tr></table></br>
<!-- End Script by Blogring.net -->
<!-- begin code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<!--
// modified to eliminate 'undefined' error by micron
// for more xanga scripts and help go to createblog.com
ctips = new Array();
ctips[0]="the taste of ink [the used]";
ctips[1]="you know how i do[taking back sunday]";
ctips[2]="rollercoaster [blink 182]";
ctips[3]="reptilia [the strokes]";
ctips[4]=”the best of me [starting line]”;
ctips[5]=”head around you [offspring]”;
ctips[6]=”dress to kill [new found glory]”;
ctips[7]=”fuct up kid [mest]”;
ctips[8]=”my sharona [the knack]”;
ctips[9]=”i miss you [incubus]”;
ctips[10]=”good riddance (time of your life) [greenday]”;
ctips[11]=”letters to you [finch]”;
ctips[12]=”there is [boxcar racer]”;
ctips[13]=”emily [bowling for soup]”;
ctips[14]=”this diary [the ataris]”;
ctips[15]=”too far gone [all-american rejects]”;
ctips[16]=”amber [311]”;
tips = new Array();
tips[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23173/26069_1_2_04.asf";
tips[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24366/27330_1_1_04.asf"; tips[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_8_04.asf";
tips[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/20682/28452_1_2_04.asf";
tips[4]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23755/23896_1_4_04.asf";
tips[5]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_6_04.asf";
tips[6]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/16453/17430_1_2_04.asf";
tips[7]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/14806/24124_1_6_04.asf";
tips[8]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/62/1431_1_7_04.asf";
tips[9]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2239/9775_1_11_04.asf";
tips[10]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/301/24090_1_15_04.asf";
tips[11]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24365/27329_1_2_04.asf";
tips[12]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22864/26484_1_10_04.asf";
tips[13]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/11456/26676_1_2_04.asf";
tips[14]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/5490/27368_1_3_04.asf";
tips[15]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_8_04.asf";
tips[16]=”http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/187/22139_1_10_04.asf";
index=Math.floor(Math.random() * tips.length);
document.write("<center><embed src="+tips[index]+" width=0 height=0 align=top autostart=true loop=true controls=hidden type=audio/x-pn-realaudio-plugin exts=ra,ram Init fn=load-types mime-types=mime.types></embed></center>")
document.write("<center><font color=#000000>"+ctips[index]+"</center>")
file://-->
<!-- end code provided by createblog.com -->
<!-- end code provided by createblog.com -->
<!-- from xanga.com/html_scripts
<!-- Updated Playlist : Found at Blogring.net -->
<table border="1" cellspacing="0" cellpadding="4" width="25%" class="left"><tr><th valign="top" align="center" class="left"><b>Music</th></tr><tr><td valign="top" class="left"><font face="Chiller" style="font-variant: small-caps;" color="purple" size=2><b>Music Player...</b></font>
<object id="CPplayer1" codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" type="application/x-oleobject" height="0" standby="Loading Microsoft Windows Media Player components..." width="0" classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95">
<param NAME VALUE>
<param NAME="ShowControls" VALUE="1">
<param NAME="ShowStatusBar" VALUE="0">
<param NAME="ShowDisplay" VALUE="0">
<param NAME="DefaultFrame" VALUE="Slide"> \
<param NAME="Autostart" VALUE="1">
<param NAME="Loop" VALUE="True">
</object>
<form name="form">
<select style="FONT-SIZE: 10pt; BACKGROUND:#000000; border: 2px solid purple; WIDTH: 100%; height: 25px; COLOR: silver; font-face: verdana;" name="food for your ears" size="3">
<option value="0">the taste of ink [the used]</option>
<option value="1">you know how i do[taking back sunday]</option>
<option value="2">rollercoaster [blink 182]</option>
<option value="3">reptilia [the strokes]</option>
<option value="4">the best of me [starting line]</option>
<option value="5">head around you [offspring]</option>
<option value="6">dress to kill [new found glory]</option>
<option value="7">fuct up kid [mest]</option>
<option value="8">my sharona [the knack]</option>
<option value="9">i miss you [incubus]</option>
<option value="10">good riddance (time of your life) [greenday]</option>
<option value="11">letters to you [finch]</option>
<option value="12">there is [boxcar racer]</option>
<option value="13">emily [bowling for soup]</option>
<option value="14">this diary [the ataris]</option>
<option value="15">too far gone [all-american rejects]</option>
<option value="16">amber [311]</option>
</select></p>
</form>
<a onclick="play(document.forms['form'].playlist);">
<img src="http://www.imageshack.us/img1/51/playbtn.PNG" border="0" name="butplay" width="15" height="15"></a>
<a onclick="document.CPplayer1.Pause(); playstate=2;">
<img src="http://imageshack.us/img1/3707/pausebtn.PNG" border="0" name="butpause" width="15" height="15"></a>
<a onclick="document.CPplayer1.Stop(); playstate=2;">
<img src="http://www.imageshack.us/img1/2434/stopbtn.PNG" border="0" name="butstop" width="15" height="15"></a></td>
<script language="JavaScript">
<!--function SymError()
{ return true; }
window.onerror = SymError;
//-->
</script>
<script language="JavaScript">
<!-- var playstate = 1;
shuffle = 1; // set to 0 to always play first song in list
// set to 1 to randomly choose the first song to play
songs=new Array();
songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23173/26069_1_2_04.asf
";
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24366/27330_1_1_04.asf";
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/237/22087_1_8_04.asf";
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/20682/28452_1_2_04.asf";
songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23755/23896_1_4_04.asf";
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/688/28631_1_6_04.asf";
songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/16453/17430_1_2_04.asf";
songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/14806/24124_1_6_04.asf";
songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/3/62/1431_1_7_04.asf";
songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2239/9775_1_11_04.asf";
songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/301/24090_1_15_04.asf";
songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/24365/27329_1_2_04.asf";
songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/22864/26484_1_10_04.asf";
songs[13]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/11456/26676_1_2_04.asf";
songs[14]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/5490/27368_1_3_04.asf";
songs[15]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/24322/27265_1_8_04.asf";
songs[16]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/187/22139_1_10_04.asf";
if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length);
document.CPplayer1.FileName = songs[randsg];
document.CPplayer1.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.CPplayer1.Play();
} else {
var snum = list.options[list.selectedIndex].value
document.CPplayer1.FileName = songs[snum];
document.CPplayer1.scr = songs[snum];
}
playstate = 1;
}
//-->
</script></td></tr></table></br>
<!-- End Script by Blogring.net -->