Mark Panaghiston
unread,Sep 12, 2011, 4:17:07 PM9/12/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jpl...@googlegroups.com
I never implemented an auto-shuffle system. You'd have to setup the playlist normally and then issue the shuffle command... But doing it at the right time is probably a problem... It should go in the ready event, after the playlist is created. Edit the jPlayerPlaylist code to add the command into the ready handler created in its code.
You could try adding a ready event handler to the jPlayer option part of the jPlayerPlaylist constructor... That handler would be created after the other ready handler... So it might, MIGHT, execute after the other one. I have never really investigated the event order in this way with jQuery... You'd have to test xcross-browser a lot to make sure they all execute the event handlers in teh same order.