You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use IMA for playing ads in my player. I have this setup for months and everything was fine until recently. The problem is video and ad are playing at the same time. I pause video before playing ad but it keeps playing. I can only replicate this problem on Chrome on Android but other users claim to have this issue in different scenarios. In production it happens very often but on my CodePen example only sparingly.
What I'm doing exactly: I have two endpoints for VAST responses - one internal source (which is often empty) and one external which I use when internal one fails. I need to request them from my domain so I manually fetch this endpoints and put response into IMA.
It goes like like this:
User presses play or autoplay happens
Video is paused - the issue is here, sometimes it keeps playing
First VAST is fetch but it's empty
Second VAST is fetched and put into IMA
Ad is playing
Ad is finished and video is resumed - when problem happens video is already in progress
I tried manually checking if ad is playing and pausing video if so but it doesn't fix the problem and breaks playback on iOS.
If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
Description
I use IMA for playing ads in my player. I have this setup for months and everything was fine until recently. The problem is video and ad are playing at the same time. I pause video before playing ad but it keeps playing. I can only replicate this problem on Chrome on Android but other users claim to have this issue in different scenarios. In production it happens very often but on my CodePen example only sparingly.
What I'm doing exactly: I have two endpoints for VAST responses - one internal source (which is often empty) and one external which I use when internal one fails. I need to request them from my domain so I manually fetch this endpoints and put response into IMA.
It goes like like this:
I tried manually checking if ad is playing and pausing video if so but it doesn't fix the problem and breaks playback on iOS.
Reduced test case
https://codepen.io/davlasq/pen/RwOpJJV
Steps to reproduce
Errors
No response
What version of Video.js are you using?
8.10.0
Video.js plugins used.
videojs-contrib-ads, videojs-ima
What browser(s) including version(s) does this occur with?
Chrome 122
What OS(es) and version(s) does this occur with?
Android 14
The text was updated successfully, but these errors were encountered: