hpw to set autoplaying the 1st song in the list?, darkplayer |
![]() ![]() |
hpw to set autoplaying the 1st song in the list?, darkplayer |
Feb 27 2005, 03:31 AM
Post
#1
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 89 Joined: Feb 2005 Member No: 100,914 |
thx
|
|
|
|
Feb 27 2005, 03:53 AM
Post
#2
|
|
![]() define our lives for us. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Staff Alumni Posts: 11,656 Joined: Aug 2004 Member No: 43,293 |
um..
okay.. It should play automatically. |
|
|
|
Apr 2 2005, 07:40 AM
Post
#3
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 89 Joined: Feb 2005 Member No: 100,914 |
no, it is not
|
|
|
|
| *videogamsta* |
Apr 2 2005, 08:52 AM
Post
#4
|
|
Guest |
when it says
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> change if (shuffle == 1) { to if (shuffle == 0) { |
|
|
|
Apr 2 2005, 08:55 AM
Post
#5
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 89 Joined: Feb 2005 Member No: 100,914 |
what do u mean, videogamsta ?
|
|
|
|
| *videogamsta* |
Apr 2 2005, 08:56 AM
Post
#6
|
|
Guest |
at the end of the the code it says
all the way at the end... just go the the script and change the 1 to a 0 on the if (shuffle == 1) { edit or if u dont know how to do it just send the script here and ill do it |
|
|
|
Apr 2 2005, 09:15 AM
Post
#7
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 89 Joined: Feb 2005 Member No: 100,914 |
|
|
|
|
| *videogamsta* |
Apr 2 2005, 09:29 AM
Post
#8
|
|
Guest |
It should work and if it doesnt just tell me. |
|
|
|
Apr 2 2005, 10:06 AM
Post
#9
|
|
|
Senior Member ![]() ![]() ![]() Group: Member Posts: 89 Joined: Feb 2005 Member No: 100,914 |
|
|
|
|
Apr 2 2005, 10:31 AM
Post
#10
|
|
|
«¤gïé#02¤»© ![]() ![]() ![]() ![]() Group: Member Posts: 294 Joined: Mar 2005 Member No: 110,871 |
then just set it to play the first song....its in the code..
|
|
|
|
Apr 2 2005, 10:32 AM
Post
#11
|
|
|
«¤gïé#02¤»© ![]() ![]() ![]() ![]() Group: Member Posts: 294 Joined: Mar 2005 Member No: 110,871 |
then just set it to play the first song....its in the code..
|
|
|
|
![]() ![]() |