I am using this plugin for my music player.
http://www.codebasehero.com/2011/06/html-music-player/
It work great if I have a single music player on page. However, I am unable to call it twice. No errors is show on my chrome console.
$('#musicPlayList_1').ttwMusicPlayer(myPlaylist, {
autoPlay: true,
description: '',
jPlayer: {
swfPath: '../Sites/Plugins/jquery-jplayer'
}});
$('#musicPlayList_2').ttwMusicPlayer(myPlaylist2, {
autoPlay: true,
description: '',
jPlayer: {
swfPath: '../Sites/Plugins/jquery-jplayer'
}});
After google, someone also faced the same issues but no solution was found. http://www.expressmedianews.com/multiple-ttw-music-player-players-on-page/
Basically ttwMusicPlayer can't be called more than once because it's of its calling of classes and ids:
or
You can edit such lines to make it work (But this probably could take a while).