
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.
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.
in IOS ???
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.