Log In · Register

 
 
Closed TopicStart new topic
hpw to set autoplaying the 1st song in the list?, darkplayer
lishashima
post Feb 27 2005, 03:31 AM
Post #1


Senior Member
***

Group: Member
Posts: 89
Joined: Feb 2005
Member No: 100,914



thx
 
lovescream
post 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.
 
lishashima
post 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*
post 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) {
 
lishashima
post 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*
post 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
 
lishashima
post Apr 2 2005, 09:15 AM
Post #7


Senior Member
***

Group: Member
Posts: 89
Joined: Feb 2005
Member No: 100,914



QUOTE(videogamsta @ Apr 2 2005, 10:56 PM)
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
*









thx
 
*videogamsta*
post Apr 2 2005, 09:29 AM
Post #8





Guest








It should work and if it doesnt just tell me. pinch.gif
 
lishashima
post Apr 2 2005, 10:06 AM
Post #9


Senior Member
***

Group: Member
Posts: 89
Joined: Feb 2005
Member No: 100,914



QUOTE(videogamsta @ Apr 2 2005, 11:29 PM)


It should work and if it doesnt just tell me.  pinch.gif
*



songs are autoplay now but it is not the 1st song in the list
 
lawmaniac_98
post 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..
 
lawmaniac_98
post 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..
 

Closed TopicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members: