View Full Version : is there somthing else i should know about this playlist stuff


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 -->

apollogod
03-25-2005, 07:11 PM
Someone tell me whats wrong with this one.


<!-- begin code provided by createblog.com -->
<object id="darkplayer"

codeBase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp

2inf.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"> Eminem-My name is </option>
<option value="1"> Eminem-Toy Soldier </option>
<option value="2"> Eminem-My Dad's Gone Crazy </option>
<option value="3"> Bowling For Soup-1985 </option>
<option value="4"> SOnG NAmE HERE </option>
<option value="5"> SOnG NAmE HERE </option>
</select><br>
<input TYPE="BUTTON" NAME="darkplay" VALUE="tUrN iT oN"

OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="wAiT"

OnClick="document.darkplayer.pause (); playstate=2;">
<input TYPE="BUTTON" NAME="darkstop" VALUE="sHuT uP"

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/3b8

58b51/mtvrdstr.download.akamai.com/8512/wmp/5/3397/3773_1_2_04.asf"
songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b8

58b51/mtvrdstr.download.akamai.com/8512/wmp/0/3397/30252_1_5_04.asf"
songs[2]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b8

58b51/mtvrdstr.download.akamai.com/8512/wmp/0/3397/27162_1_19_04.asf"
songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b8

58b51/mtvrdstr.download.akamai.com/8512/wmp/4/11456/29788_1_3_04.asf"
songs[4]="MUSiC URl HERE"
songs[5]="MUSiC URl HERE"
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 -->

thug_sweetie77
03-26-2005, 04:44 PM
IVE REDONE THIS PLAYLIST FOR THE GAZILLIONTH TIME AND I FOLLOWED ALL THE DIRECTIONS. WHY WILL IT STILL NOT PLAY?

<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>
<form name="form">
<center>
<select style="FONT-SIZE: 8pt; BACKGROUND:#FC8C8C; WIDTH: 180; COLOR: #000000; font-face: arial; 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>
<input TYPE="BUTTON" NAME="darkplay" VALUE="Shake that monkey" OnClick="play(document.forms['form'].playlist);">
<input TYPE="BUTTON" NAME="darkpause" VALUE="slow motion 4 meh" OnClick="document.darkplayer.pause (); playstate=2;">
<input TYPE="BUTTON" NAME="take a break" VALUE="stop" OnClick="document.darkplayer.stop( ); playstate=2;"></p>
</form><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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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.ak amaistream.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>

[2] nekked
03-26-2005, 08:13 PM
there should be spaces between the " and the music urls

thug_sweetie77
03-26-2005, 10:10 PM
nekked']there should be spaces between the " and the music urls

How many spaces? i put one space between each and i tried again but the songs wont play and it keeps saying that there is an error in the page, it did not do that before when i didnt have a playlist. what should i do?

[2] nekked
03-27-2005, 01:31 AM
just one space "[space] music url [space]"

thug_sweetie77
03-27-2005, 02:12 PM
nekked']just one space "[space] music url [space]"

maybe something else i wrong with it, i put spaces just like you said, maybe the urls dont work? but i see everyone else with the same ones how come theirs is working, is there something missing from my code