thug_sweetie77
03-25-2005, 05:05 PM
Ok i added more songs, and i redid the code but it still wont play, is there somthing wrong with the music links?
<!-- begin code provided by createblog.com -->
<object id="darkplayer" 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="0">
<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>
</p>
<form name="form">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:; WIDTH: 200; COLOR: #F3ABDB; font-face: verdana; height:174" name="playlist" size="1">
<option value="0">She will be loved- Maroon 5</option>
<option value="1">Lifestyles of the rich and the famous- Good Charlotte</option>
<option value="2">I Care 4 U- Aaliyah</option>
<option value="3">Forgotten- Avril Lavigne</option>
<option value="4">Girls and Boys- Good Charlotte</option>
<option value="5">The Ultimate- Lindsay Lohan</option>
<option value="6">Sunday Morning- Maroon 5</option>
<option value="7">The Anthem- Good Charlotte</option>
<option value="8">So Anxious- Ginuwine</option>
<option value="9">someday-Nickelback</option>
<option value="10">slipped away- avril</option>
<option value="11">Dangerously in love</option>
<option value="12">4 page letter- Aaliyah</option>
</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="BoB YoUr HeAd UnTiL YoU BrEaK YoUr NeCk" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="CaLm ThAt ShYt DoWn" OnClick="document.darkplayer.pause (); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="ChIlL ThE ^^^^ OuT" OnClick="document.darkplayer.stop( ); playstate=2;"></p>
</form>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</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
// www.xanga.com/smartypants91780
// unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23581/26428_1_4_04.asf"
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_3_04.asf"
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/2298/28322_1_4_04.asf"
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23004/29435_1_8_04.asf"
songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_6_04.asf"
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/25115/28492_1_1_04.asf"
songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23581/26428_1_8_04.asf"
songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_2_04.asf"
songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/482/4073_1_4_04.asf"
songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2691/28639_1_3_04.asf"
songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23004/29435_1_12_04.asf"
songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23226/27887_1_12_04.asf"
songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2298/14257_1_8_04.asf"
if (shuffle == 1) {
var randsg = Math.floor(Math.random()* songs.length);
document.darkplayer.FileN ame = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.darkplayer.Play( );
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileN ame = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>
<!-- end code provided by createblog.com -->
<!-- begin code provided by createblog.com -->
<object id="darkplayer" 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="0">
<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>
</p>
<form name="form">
<p style="text-align: center">
<select style="FONT-SIZE: 8pt; BACKGROUND:; WIDTH: 200; COLOR: #F3ABDB; font-face: verdana; height:174" name="playlist" size="1">
<option value="0">She will be loved- Maroon 5</option>
<option value="1">Lifestyles of the rich and the famous- Good Charlotte</option>
<option value="2">I Care 4 U- Aaliyah</option>
<option value="3">Forgotten- Avril Lavigne</option>
<option value="4">Girls and Boys- Good Charlotte</option>
<option value="5">The Ultimate- Lindsay Lohan</option>
<option value="6">Sunday Morning- Maroon 5</option>
<option value="7">The Anthem- Good Charlotte</option>
<option value="8">So Anxious- Ginuwine</option>
<option value="9">someday-Nickelback</option>
<option value="10">slipped away- avril</option>
<option value="11">Dangerously in love</option>
<option value="12">4 page letter- Aaliyah</option>
</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="BoB YoUr HeAd UnTiL YoU BrEaK YoUr NeCk" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="CaLm ThAt ShYt DoWn" OnClick="document.darkplayer.pause (); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="ChIlL ThE ^^^^ OuT" OnClick="document.darkplayer.stop( ); playstate=2;"></p>
</form>
<script language="JavaScript">
<!--
function SymError()
{
return true;
}
window.onerror = SymError;
var SymRealWinOpen = window.open;
function SymWinOpen(url, name, attributes)
{
return (new Object());
}
window.open = SymWinOpen;
//-->
</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
// www.xanga.com/smartypants91780
// unlimited songs, just copy and paste the song line and change the number
songs=new Array();
songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23581/26428_1_4_04.asf"
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_3_04.asf"
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/2298/28322_1_4_04.asf"
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23004/29435_1_8_04.asf"
songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_6_04.asf"
songs[5]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/25115/28492_1_1_04.asf"
songs[6]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/23581/26428_1_8_04.asf"
songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/15873/27331_1_2_04.asf"
songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/482/4073_1_4_04.asf"
songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2691/28639_1_3_04.asf"
songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23004/29435_1_12_04.asf"
songs[11]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/5/23226/27887_1_12_04.asf"
songs[12]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/2298/14257_1_8_04.asf"
if (shuffle == 1) {
var randsg = Math.floor(Math.random()* songs.length);
document.darkplayer.FileN ame = songs[randsg];
document.darkplayer.scr = songs[randsg];
document.forms['form'].playlist.options[randsg].selected = true;
}
function play(list) {
if (playstate == 2) {
document.darkplayer.Play( );
} else {
var snum = list.options[list.selectedIndex].value
document.darkplayer.FileN ame = songs[snum];
document.darkplayer.scr = songs[snum];
}
playstate = 1;
}
//-->
</script>
<!-- end code provided by createblog.com -->