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

Seeking to a position in non-integer seconds (assuming sufficient keyframes)


Hi,

http://support.jwplayer.com/customer/portal/articles/1413089-javascript-api-reference states that seek(position) needs integer seconds.

Is it possible to use fractions of seconds if the video has enough keyframes? E.g. if I encode a 25fps video with a keyframe every 5th frame, can I seek accurately to 3.2 seconds?

Thanks,
Dave

5 Community Answers

Ethan Feldman

JW Player Support Agent  
1 rated :

You can do 3.2, that should be fine.

david

User  
0 rated :

Great - thanks Ethan - so it just requires a keyframe? Does that apply to both HTML-5 and Flash modes?

Ethan Feldman

JW Player Support Agent  
0 rated :

It is done in seconds. 3.2 would still be seconds. Yes, it for both modes.

david

User  
0 rated :

Brilliant- thanks.

Ethan Feldman

JW Player Support Agent  
0 rated :

Np.

This question has received the maximum number of answers.