I have a jplayer on a website, which embeds several playlists.
To activate these playlists, I use this function :
jQuery("#playlist_french_baroque").click(function() {
...
});
This works very well.
Now, on other pages on the same website I want to load a specific playlist.
This doesn’t work because I use the click() function.
What should I do for that ?
Thank you very much.
On your /listen page add this code
This will execute when the page loads, and check if the hash has been set then call the click hander on the element with that hash.