-1

How can i determine if jPlayer has stop? I wanted to throw an event or alert when ever jPlayer has stop.

$("#jquery_jplayer_1").jPlayer({
    stop: function () {
        alert('Player has stop');
    }
});

1 Answers1

0

You want the pause event. If you read the documentation, it says all events. http://jplayer.org/latest/developer-guide/#jPlayer-events

$("#jquery_jplayer_1").jPlayer({
    pause: function () {
        alert('Player has stop');
    }
});
Martin Dawson
  • 7,455
  • 6
  • 49
  • 92