Help!!! my playlist isnt working!!! |
Help!!! my playlist isnt working!!! |
Jun 29 2005, 09:38 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Jun 2005 Member No: 162,030 |
[COLOR=red] hey everyone... i was hopeing someone could help me. My playlist for xanga isn't playing! It was, but then i added more songs and now it isn't!
<!-- begin code provided by createblog.com --><br /> <!-- begin code provided by createblog.com --><br /> <br /> <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"><br /> <param NAME VALUE><br /> <param NAME="ShowControls" VALUE="1"><br /> <param NAME="ShowStatusBar" VALUE="1"><br /> <param NAME="ShowDisplay" VALUE="1"><br /> <param NAME="DefaultFrame" VALUE="Slide"><br /> <param NAME="Autostart" VALUE="1"><br /> <param NAME="Loop" VALUE="True"><br /> </object><br /> <form name="form"><br /> <select name="playlist" size="1"><br /> <!-- Add song info here --><br /> <option value="0">♥ Speed of Soud- Coldplay </option><br /> <option value="1">♥ I'm not okay- My Chemical Romance</option><br /> <option value="2">♥ Just a lil bit- 50 cent </option><br /> <option value="3">♥ candy shop- 50- cent </option><br /> <option value="4">♥ Vertigo- U2</option><br /> <option value="5">♥ Where the streets have no name- U2</option><br /> <option value="6">♥ Hey Jude- Beatles</option><br /> <option value="7">♥ Can't buy me love- Beatles</option><br /> <option value="8">We can work it out- Beatles </option><br /> <option value="9">♥ Day Tripper- Beatles </option><br /> <option value="10">♥ She loves you- Beatles </option><br /> <option value="11">♥ I want to hold your hand- Beatles</option><br /> <option value="12">♥ Dandelion- Rolling Stones</option><br /> <option value="13">♥ Paint it Black- Rolling Stones</option><br /> <option value="14">♥ Satisfaction- Rolling Stones</option><br /> <option value="15">♥ Gossip Folks- Missy Elliot</option><br /> <option value="16">♥ Should i stay or should i go- The Clash</option><br /> <option value="17">♥ Welcome to the Jungle- Guns N Roses</option><br /> <option value="18">♥ Sweet Child O' Mine- Guns N Roses</option><br /> <option value="19">♥ Paradise City- Guns N Roses</option><br /> <option value="20">♥ Rocket Queen- Guns N Roses</option><br /> <option value="21">♥ American Idiot- Green Day</option><br /> <option value="22">♥ Holiday- Green Day </option><br /> <option value="23">♥ Boulevard of Broken Dreams- Green Day</option><br /> <option value="24">♥ St. Jimmy- Green Day </option><br /> <option value="25">♥ Wake me up when september ends- Green Day</option><br /> <option value="26">♥ Rock you like a hurricane- Scorpians</option><br /> <option value="27">♥ Don't Phunk with my Heart- BlackEyed Peas</option><br /> <br /> <br /> </select><br><br /> <input TYPE="BUTTON" NAME="darkplay" VALUE="Spin That Shit" OnClick="play(document.forms['form'].playlist);"><br /> <input TYPE="BUTTON" NAME="darkpause" VALUE="Break Time" OnClick="document.darkplayer.pause(); playstate=2;"><br /> <input TYPE="BUTTON" NAME="darkstop" VALUE="Enough" OnClick="document.darkplayer.stop(); playstate=2;"></p><br /> </form><br /> <br /> <script language="JavaScript"><br /> <!--<br /> var playstate = 1;<br /> shuffle = 1; // Set to 0 to always play first song in list<br /> // Set to 1 to randomly choose the first song to play<br /> songs=new Array();<br /> <br /> // Add song URLs here<br /> songs[0]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[1]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[2]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[3]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[4]="; http://a425.v8384d.c8384.g.vm.akamaistream...0198_1_1_05.asf ";<br /> songs[5]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[6]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[7]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[8]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[9]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[10]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[11]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[12]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[13]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[14]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[15]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[16]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[17]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[18]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[19]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[20]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[21]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[22]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[23]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[24]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[25]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[26]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> songs[27]="; http://a425.v8384d.c8384.g.vm.akamaistream...sf";<br /> <br /> <br /> if (shuffle == 1) {<br /> var randsg = Math.floor(Math.random()*songs.length);<br /> document.darkplayer.FileName = songs[randsg];<br /> document.darkplayer.scr = songs[randsg];<br /> document.forms['form'].playlist.options[randsg].selected = true;<br /> }<br /> function play(list) {<br /> if (playstate == 2) {<br /> document.darkplayer.Play();<br /> } else {<br /> var snum = list.options[list.selectedIndex].value<br /> document.darkplayer.FileName = songs[snum];<br /> document.darkplayer.scr = songs[snum];<br /> }<br /> playstate = 1;<br /> }<br /> //--><br /> </script><br /> <!-- end code provided by createblog.com --> and here is the link to my xanga... My xanga |
|
|
|
![]() |
Jun 29 2005, 10:52 AM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 60 Joined: Jan 2005 Member No: 92,890 |
I used to have a playlist on my xanga.. but i took it off.. my playlist looked a lot different. I think its the code.. ill get you the one that i had .. one sec
|
|
|
|
Jun 29 2005, 10:54 AM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 60 Joined: Jan 2005 Member No: 92,890 |
Here is the code
<!-- 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> <form name="form"> <select name="playlist" size="1"> <!-- Add song info here --> <option value="0">Artist Name - Song Title</option> <option value="1">Artist Name - Song Title</option> <option value="2">Artist Name - Song Title</option> <option value="3">Artist Name - Song Title</option> <option value="4">Artist Name - Song Title</option> </select> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> </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(); // Add song URLs here songs[0]="SONG URL HERE"; songs[1]="SONG URL HERE"; songs[2]="SONG URL HERE"; songs[3]="SONG URL HERE"; songs[4]="SONG URL HERE"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.darkplayer.FileName = 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.FileName = songs[snum]; document.darkplayer.scr = songs[snum]; } playstate = 1; } //--> </script> <!-- end code provided by createblog.com --> |
|
|
|
Jun 29 2005, 10:55 AM
Post
#4
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 60 Joined: Jan 2005 Member No: 92,890 |
Here is a music site.. http://www.xanga.com/musicurl
and you can also go to the big book of resources and get a site from there http://www.createblog.com/forums/index.php?showtopic=14636 |
|
|
|
Jun 29 2005, 11:25 AM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 148 Joined: Jan 2005 Member No: 78,650 |
...
it's the link of ur songs... try to find the full link of that. as Sweetpeaxxx14 said, the format should be songs[0]="SONG URL HERE"; how come it have so many <br /> in your scripts?? |
|
|
|
Jun 29 2005, 11:32 AM
Post
#6
|
|
|
Senior Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 3,551 Joined: Feb 2005 Member No: 102,857 |
Yeah um next time can you guys use the code box it's this simple
hit code box paste the code then hit the code box again |
|
|
|
Jun 29 2005, 05:38 PM
Post
#7
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
..... It's all the breaks (<br />) in your code. They're not supposed to be there. Take them out and it works fine.
Ignore what everyone said about the full links.... It's just the fact that you didn't use a codebox that the links are shortened. |
|
|
|
Jun 29 2005, 05:43 PM
Post
#8
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Jun 2005 Member No: 162,030 |
ok thank you guys soooooo much! i will try taking the br things out, and if it still doesn't work i will just go to some of the links you gave me! thanks again!
-stef |
|
|
|
Jun 29 2005, 07:06 PM
Post
#9
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Jun 2005 Member No: 162,030 |
guys its still not working! i got a new list and all! i dont know what to do!! here is my code now
[<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"> <p style="text-align: center"> <select style="FONT-SIZE: 8pt; BACKGROUND:#000000; WIDTH: 250px; COLOR: ff4488; font-face: verdana" name="playlist" size="1"> <option value="0">Im not okay</option> <option value="1">Just a lil bit</option> <option value="2">candy shop</option> <option value="3">vertigo</option> <option value="4">where the streets have no name</option> <option value="5">hey jude</option> <option value="6">can't buy me love</option> <option value="7">we can work it out</option> <option value="8"> day tripper</option> <option value="9">she loves you</option> <option value="10">i wanna hold your hand</option> <option value="11">Dandelion</option> <option value="12">Paint it black</option> <option value="13">Satisfation</option> <option value="14">Welcome to the Jungle</option> <option value="15"> Sweet Child O' Mine</option> <option value="16">Paradise City</option> <option value="17">You could be mine <3</option> <option value="18">American Idiot</option> <option value="19">Holiday</option> <option value="20">dont phunk with my heart</option> <option value="21">Speed of sound</option> <option value="22">Cold Hard Bitch</option> </select><br> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> <input TYPE="BUTTON" NAME="darkpause" VALUE="pause" OnClick="document.darkplayer.Pause(); playstate=2;"> <input TYPE="BUTTON" NAME="darkstop" 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://a425.v8384d.c8384.g.vm.akamaistream...5_05.asf"; songs[1]=" http://a425.v8384d.c8384.g.vm.akamaistream...4_05.asf"; songs[2]=" http://a425.v8384d.c8384.g.vm.akamaistream...7_05.asf"; songs[3]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[4]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[5]=" http://a425.v8384d.c8384.g.vm.akamaistream...7_05.asf"; songs[6]=" http://a425.v8384d.c8384.g.vm.akamaistream...7_05.asf"; songs[7]=" http://a425.v8384d.c8384.g.vm.akamaistream...2_05.asf"; songs[8]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[9]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[10]=" http://a425.v8384d.c8384.g.vm.akamaistream...5_05.asf"; songs[11]=" http://a425.v8384d.c8384.g.vm.akamaistream...4_05.asf"; songs[12]=" http://a425.v8384d.c8384.g.vm.akamaistream...4_05.asf"; songs[13]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[14]=" http://a425.v8384d.c8384.g.vm.akamaistream...4_05.asf"; songs[15]=" http://a425.v8384d.c8384.g.vm.akamaistream...7_05.asf"; songs[16]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[17]=" http://a425.v8384d.c8384.g.vm.akamaistream...5_05.asf"; songs[18]=" http://a425.v8384d.c8384.g.vm.akamaistream...1_05.asf"; songs[19]=" http://a425.v8384d.c8384.g.vm.akamaistream...3_05.asf"; songs[20]=" http://boss.streamos.com/wmedia/interscope...eart.asx"; songs[21]=" http://www.dazzled.com/wilson02/coldplay%2...ion).mp3"; songs[22]=" http://a420.v8383d.c8383.g.vm.akamaistream...9_04.asf"; if (shuffle == 1) { var randsg = Math.floor(Math.random()*songs.length); document.darkplayer.FileName = 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.FileName = songs[snum]; document.darkplayer.scr = songs[snum]; } playstate = 1; } //--> </script>] if it doesnt work this time after i get some replies maybe someone can do it for me.... -thanx! -stef |
|
|
|
Jun 29 2005, 07:15 PM
Post
#10
|
|
![]() You'll find me in your dreams. ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Member Posts: 8,536 Joined: Mar 2005 Member No: 114,010 |
..... None of your links work.
|
|
|
|
Jun 29 2005, 07:39 PM
Post
#11
|
|
|
show me a garden thats bursting to life ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 12,303 Joined: Mar 2005 Member No: 115,987 |
None of the links work. Those links break all the time. and USE THE CODEBOX! next time. Plz. It doesn't strech the forum.
|
|
|
|
Jun 29 2005, 08:07 PM
Post
#12
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 148 Joined: Jan 2005 Member No: 78,650 |
wrong post, plx del it.
|
|
|
|
Jun 29 2005, 08:08 PM
Post
#13
|
|
|
Senior Member ![]() ![]() ![]() ![]() Group: Member Posts: 148 Joined: Jan 2005 Member No: 78,650 |
the script should be like this :
for the links of the songs, copy and paste again, it shouldn't have ... if u use it in xanga. |
|
|
|
![]() ![]() |