Drop Down Player. |
![]() ![]() |
Drop Down Player. |
Jan 7 2005, 10:01 PM
Post
#1
|
|
![]() skills to pay the bills... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 417 Joined: Sep 2004 Member No: 49,204 |
I've tried multiple things, and it won't work. I've also looked through the other topics that are similar to this one, and they did not help.
Here is the xanga I'm trying to get it to work on. Here's the code: QUOTE <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">Showbread - Stabbing Art to Death</option> <option value="1">Sugarcult - Back to California</option> <option value="2">The Used - SoundEffects and Overdramatics</option> <option value="3">Underoath - Reinventing Your Exit</option> <option value="4">Blink 182 - Down</option> </select> <input TYPE="BUTTON" NAME="darkplay" VALUE="play" OnClick="play(document.forms['form'].playlist);"> </form> <script language="JavaScript"> <!-- var playstate = 1; shuffle = 0; // 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.spud.aulkcrgo.com/10-showbread-stabbing_art_to_death-rtb.mp3"; songs[1]="http://www.spud.aulkcrgo.com/Sugarcult - Sugercult - Back to California.mp3"; songs[2]="http://www.spud.aulkrgo.com/soundeffects_and_overdramatics.mp3"; songs[3]="http://www.spud.aulkrgo.com/Reinventing Your Exit.mp3"; songs[4]="http://www.spud.aulkrgo.com/06-blink_182-down-fnt.mp3"; 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> |
|
|
|
Jan 7 2005, 10:52 PM
Post
#2
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 52 Joined: Dec 2004 Member No: 75,871 |
try getting your songs from a different source....that's what was wrong with mine!
|
|
|
|
Jan 8 2005, 09:17 AM
Post
#3
|
|
![]() Star of Berryz ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 406 Joined: May 2004 Member No: 15,033 |
mp3 should work though.. are all your songs work or dead?
|
|
|
|
Jan 8 2005, 12:39 PM
Post
#4
|
|
![]() skills to pay the bills... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 417 Joined: Sep 2004 Member No: 49,204 |
They all work, try them yourselves. It's actually my own server, so I know they work.
|
|
|
|
Jan 9 2005, 11:02 AM
Post
#5
|
|
![]() skills to pay the bills... ![]() ![]() ![]() ![]() ![]() Group: Member Posts: 417 Joined: Sep 2004 Member No: 49,204 |
Not so much to bumb this back up, but I really need the help. Thanks Guys.
|
|
|
|
![]() ![]() |