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

JW Player: stop JW Player at last frame


Is there a way to stop JW Player at the last frame of the video so it won't turn into black.

I like to do this without specifying an image, so just with the video data.

2 Community Answers

liju

User  
0 rated :

in IOS ???

Todd

JW Player Support Agent  
0 rated :

I have never tried, but you could potentially use the .on(‘time’) event to listen for jwplayer().getPosition() and pause the player using jwplayer().pause(true) when jwplayer().getPosition() > jwplayer().getDuration() – 0.5 or something.

You would have to be careful, though. If the video is playing in fullscreen when it pauses at the end, then this might present a confusing viewer experience.

You can also try adding a poster image to the player. My understanding is that the player displays the poster image again after the video ends.

This question has received the maximum number of answers.