my music player won't work |
my music player won't work |
Jan 2 2005, 11:31 PM
Post
#1
|
|
|
Member ![]() ![]() Group: Member Posts: 17 Joined: Aug 2004 Member No: 37,281 |
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="11"> <param NAME="ShowStatusBar" VALUE="11"> <param NAME="ShowDisplay" VALUE="11"> <param NAME="DefaultFrame" VALUE="Slide"> <param NAME="Autostart" VALUE="11"> <param NAME="Loop" VALUE="False"> </object> <form name="form"> <select name="playlist" size="1"> <!-- Add song info here --> <option value="0"> Fall Out Boy – Grand Theft Autumn</option> <option value="1">Beatles – She Loves You</option> <option value="2">Taking Back Sunday – A Decade Under the Influence</option> <option value="3">Keane – Everybody’s Changing</option> <option value="4">Hot Hot Heat – Oh Godammit</option> <option value="5">Hawthorne Heights – Ohio is For Lovers </option> <option value="6">My Chemical Romance – I’m Not Okay</option> <option value="7">Taking Back Sunday – Cute without the E </option> <option value="8">Dashboard Confessional – Rapid Hope Loss </option> <option value="9">Muse – Time Is Running Out </option> <option value="10">Thrice – Stare At the Sun </option> <option value="11">The Early November – Baby Blue </option> <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(); // Add song URLs here songs[0]=" http://www.espew.com/cgi-bin/spew/802032/gta.mp3"; songs[1]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/6/6390_1_4_04.asf"; songs[2]="http://www.redmusic.com/streams/TakingBackSunday/DecadeUnderTheInfluence.asx"; songs[3]="http://boss.streamos.com/wmedia/interscope/keane/audio/hopesandfears/96__everybodyschanging.asx"; songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/2/24026/26996_1_5_04.asf"; songs[5]="http://fileserv5.soundclick.com/fastk9/HiG/hawthorneheights+ohioisforlovers.mp3"; songs[6]=" http://download.wbr.com/totalassault/05-I'm_Not_Okay_(I_Promise).mp3"; songs[7]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/24366/27330_1_3_04.asf"; songs[8]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/22181/28045_1_2_04.asf"; songs[9]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/8288/29046_1_3_04.asf"; songs[10]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/24451/28048_1_5_04.asf"; songs[11]="http://2720.net/cgi-bin/stp.cgi?stp=/2/25218/28688_1_5&band=high"; 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 --> it works but it only plays the first song and replays it over and over again...how do i make it play all of them? |
|
|
|
![]() |
Jan 2 2005, 11:43 PM
Post
#2
|
|
|
Newbie ![]() Group: Member Posts: 5 Joined: Nov 2004 Member No: 65,507 |
umm... try clicking a different song then push play?
|
|
|
|
Jan 3 2005, 03:03 AM
Post
#3
|
|
|
Yawn ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 9,530 Joined: Nov 2004 Member No: 65,772 |
Yah, when u get on ur xanga, it will randomly choose one song to play....BUT when that song is over, it will just keep playing that one song over and over again...So there isn't a code that i know of that will play ALL of them without pushing the play button...the only thing you can do is click on the dropdown list, pick the song you wanna listen to, and push play. But everytime you get on ur xanga a dif song SHOULD play each time. I have the same player for mine, so i know how it works, but there is probably a different player out there that can do what you want...so try some new ones out.
|
|
|
|
![]() ![]() |