Log In · Register

 
 
Closed TopicStart new topic
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
 
ryter89
post Jan 23 2005, 01:08 AM
Post #2


ive got another confession to make
****

Group: Member
Posts: 153
Joined: Dec 2004
Member No: 77,006



im not sure but i think you cant have mp3 and asf mixed together. might need a second opinion though!
 
ckling
post Jan 23 2005, 01:46 AM
Post #3


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.
 
angel-roh
post Jan 23 2005, 02:46 AM
Post #4


i'm susan
********

Group: Official Member
Posts: 13,875
Joined: Feb 2004
Member No: 5,029



How about using a different code and this time use the code from our xanga script. and mp3 and asf can mix together... sure you can _smile.gif
 

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