Reputation: 569
Is it possible to get the video events using HTML5 and jQuery?
Events like:
Upvotes: 19
Views: 43021
Reputation: 658
You can find the events here: http://www.w3.org/2010/05/video/mediaevents.html
Example:
$("video").on("pause", function (e) {
console.debug("Video paused. Current time of videoplay: " + e.target.currentTime );
});
Upvotes: 29