Sure, that functionality is built in to the video element. You don’t need my plugin to do any of that. The event play is triggered whenever a video starts playing, and the event ended is triggered when the video reaches the end.
Hi.
But how do I call them? Do you have any example?
Thanks
This is the basic idea. You’d add event listeners to every video on the page.
https://stackoverflow.com/questions/14269241/catch-video-html5-play-stop-event