Music dragdowns, I can't get mine to work |
Music dragdowns, I can't get mine to work |
Mar 19 2005, 01:59 PM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Mar 2005 Member No: 114,949 |
It show up in the place I want it it just doesn't play the music
|
|
|
|
![]() |
Mar 19 2005, 02:07 PM
Post
#2
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Mar 2005 Member No: 114,949 |
<!-- begin 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> <form name="form"> <select name="playlist" size="1"> <!-- Add song info here --> <option value="0">Usher- Caught up</option> <option value="1">Usher,lil john, ludacris-lovers</option> <option value="2">Green day - jesus of surburbia</option> <option value="3">twista-hope</option> <option value="4">eminem-mocking bird</option> <option value="5">the killers- mr. brightside</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(); // Add song URLs here songs[0]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/4/292/29068_1_7_04.asf"; songs[1]="http://www3.telus.net/public/swong1/Lovers.wma"; songs[2 ="http://www.warnermusic.com.au/greenday/americanidiot/jesusofsuburbia.asx"; songs[3]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/1/6797/28825_1_14_04.asf"; songs[4]="http://a420.v8383d.c8383.g.vm.akamaistream.net/7/420/8383/3b858b51/mtvrdstr.download.akamai.com/8512/wmp/0/3397/30252_1_16_04.asf"; songs[5]="http://www.thecrutch.net/mp3/thekillers-mrbrightside.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> <!-- end code provided by createblog.com --> <!-- end code provided by createblog.com --> |
|
|
|
Gymball61 Music dragdowns Mar 19 2005, 01:59 PM
azn.peace.maker uhh please paste the code here so we can actually ... Mar 19 2005, 02:03 PM
azn.peace.maker uhh next time use a codebox and its cuz of this
s... Mar 19 2005, 02:10 PM
Gymball61 Its still not playing Mar 19 2005, 02:12 PM
Gymball61 never mind thank you:-) Mar 19 2005, 02:14 PM
niez_cho You need the songs to be in the same file format. ... Mar 20 2005, 03:54 AM
Jhaks no they don't have to same format Mar 20 2005, 04:44 AM
creamysmile11 QUOTE(Jhaks @ Mar 20 2005, 4:44 AM)no they do... Mar 20 2005, 09:32 AM![]() ![]() |