HTML5 video: timeline drag and drop detection

I was wondering if there is a full-fledged way to find out when a user drags the timeline of an HTML5 video. So far I have attached to timeUpdate, but it is unclear whether the currentTime is increasing due to drag and drop or just playing the video. Thank!

0
source share
1 answer

I know that MediaElement.js , which is an implementation of the html5 video element, supports an event called “searched” which gives you what you want.

You can use this or look in the code to find out what logic they use to detect the search.

, , , , , . W3C , .

+1

All Articles