Closed davlasq closed 5 months ago
š Thanks for opening your first issue here! š
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.
The videojs-ima repo would be a better place to get help for this. https://github.com/googleads/videojs-ima/issues/1098 is possibly the same or related.
Yes, this is the same issue. Thanks
It looks like it's issue with IMA, i posted my workaround in previously mentioned issue.
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