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

how to i get user watched time of the video ?


Consider a video total lenth is 5 min. In that user start watching the video duration from2 min to 4 min. in that how do i will get time of 2 min. in jw aplyer

4 Community Answers

Madhu

User  
0 rated :

Consider a video total lenth is 5 min. In that user start watching the video duration from2 min to 4 min.that means user watched video of total length is 2 min, how do i will get that 2 min of user actual user watched video ?

George

JW Player Support Agent  
0 rated :

You’ll have to build something using our API. It really depends on your use case. Have a look at the documentation here:
https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/#jwplayerontime

Madhu

User  
0 rated :

but with the duration and position how do I will get the user video time. Example: 10 min video user saw first 2-3 min later he saw 5-7 min only total he saw 3 min only that 3 min how can I get with this duration and position.

George

JW Player Support Agent  
0 rated :

Hi,

You’d have to find a way to count the time watched. Here’s a code example that could help you:
http://qa.jwplayer.com.s3.amazonaws.com/~george/demo-timewatched.html

This question has received the maximum number of answers.