Log In · Register

 
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
 
 
Start new topic
Replies
*videogamsta*
post Apr 2 2005, 08:52 AM
Post #2





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) {
 

Posts in this topic


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