I am adding a YouTube video to my page and can detect when the user clicks the Play and Pause button on the video.
I also need to be able to detect when a user searches / jumps to a specific part of the video (as opposed to letting him just play with that point). How to do it?
I am using Youtube iframe api: https://developers.google.com/youtube/iframe_api_reference
I can crack this by starting a timer and checking every second if the video plays for more than a second, and if that counts as its search. However, there seems to be an easier way to do this.
youtube-api youtube-javascript-api
Vineet
source share