function showAudioFull(id)
{
var url = URL_DIRSCREENAUDIOSHOT+AUDIOSHOT_PREFIX+id+'.mp3';
var myCirclePlayer = new CirclePlayer("#jquery_audioFile",
{
m4a: url
}, {
cssSelectorAncestor: "#cp_container_1"
});
}
I am appending the MP3 link to JPlayer each time I call this function in my JS file.
There will be a set of images with "id". With an onClick() function this showAudioFull() is invoked.
But problem is JPlayer is not updating the mp3 file that is being played. It keeps playing the same audio which I click at the first time.
FYI : Using JPlayer Circle player