
[API] How to check is video full viewed?
How to check is video full viewed? Just an every second of the video, even if user rewinded it
How to check is video full viewed? Just an every second of the video, even if user rewinded it
Would it work for you to use the .on(‘complete’) event from our API?
https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/#jwplayeroncomplete
Or are you looking to understand the total time watched for your videos? If you are hosting with us, all of that data will be available in your analytics dashboard. Please see our documentation here for more details:
https://support.jwplayer.com/customer/portal/articles/2142460
No, I need check is user viewed whole video. For example I have video with length 1m30s. If user watched this video to 1m (without rewind/seek) and for example paused it, video stay marked as not fully viewed. But when he resume video and watched the rest 30 seconds, only then video marking as complete viewed.
But if he rewinded (seeked) it, it's needable to store information about what line segments on timeline he viewed and to mark video as full viewed only when he will watch not viewed moments
I developing specific learning management system and I need to give access to video lessons only when users fully(!) watched another certain videos
Hi Andrew,
Please see this demo, which keeps track of the total seconds watched for a video:
http://qa.jwplayer.com/~todd/demo-timewatched.html
If you seek back, this demo counts those seconds as ‘watched’. If you seek forward in the video, the seconds that are skipped over will not count. Let me know if this helps.