Log In · Register

 
Friend's Playlist Prob, Help Me Fx This
ThinkJohn
post Jan 23 2005, 12:14 AM
Post #1


Senior Member
***

Group: Member
Posts: 62
Joined: Nov 2004
Member No: 66,860





This Is My Friends Playlist And finding out whts wrong
 
 
Start new topic
Replies
ckling
post Jan 23 2005, 01:46 AM
Post #2


Senior Member
****

Group: Member
Posts: 148
Joined: Jan 2005
Member No: 78,650



1. the link of song 17 should be :
songs[17]="http://www.unseenpunks.com/mp3s/Fed_Up_Demo.mp3";
not
songs[17]="http://www.unseenpunks.com/mp3s/Fed_Up_Demo.mp3

2. copy this to the functions:

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;
}

in your script "document.darkplayer.FileN ame = songs[randsg];",
"document.darkplayer.FileN ame = songs[snum];" <--the problem comes with the space after the N.
 

Posts in this topic


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