Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

[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

4 Community Answers

Heidi

JW Player Support Agent  
0 rated :

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

Andrew

User  
0 rated :

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

Andrew

User  
0 rated :

I developing specific learning management system and I need to give access to video lessons only when users fully(!) watched another certain videos

Heidi

JW Player Support Agent  
1 rated :

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.

This question has received the maximum number of answers.