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

HTML5 player restarts after ad + pause + play

Playback with JWplayer on Amazon devices is challenging.
First, autostart is not respected. I need a block such as
player.on('ready', () => {});

I cannot fire preroll ads in beforePlay event.
player.on('beforePlay', () => {player.playAd(adUrl)})
will only SOMETIMES request an ad. and in those cases, still only sometimes an ad will play. very unpredictable.

In many cases, the most problematic bug occurs. Once a video starts, the first time the player is paused (either by the control bar, or by a player.pause() call), the subsequent play() call will restart the video. If i have a preroll ad scheduled, it plays before the 'restarted' video.

I have a hacky workaround to force jw to seek where I would like, such as:
player.on('firstFrame', () => { player.pause(); setTimeout(() => {; setTimeout(() => {}, 200)}, 1000); })

Anyone have similar issues with JWPlayer?

1 Community Answers


JW Player Support Agent  
0 rated :

We do not test on Amazon devices, so the community can take the lead on this one.

This question has received the maximum number of answers.