googleads / videojs-ima

IMA SDK Plugin for Video.js
Apache License 2.0
450 stars 284 forks source link

Safari iPad: ads content stuck on the first frame, and switch back the video. #1076

Closed stavkamil closed 1 year ago

stavkamil commented 1 year ago

When I'm debugging it in our project (nextjs application), there's an error on preroll: Unhandled promise rejection. abortError: the operation was aborted The error occurs by the time the preroll should start. Then the adbreak freeze on the first frame and goes back to the video.

I can also reproduce this bug in the simple/advanced examples >> https://googleads.github.io/videojs-ima/examples/simple/ (There are no runtime errors, but still the ad content get stuck and goes back to the video).

Model Name: iPad(7th generation) IOS Version: 15.4.1

our stack: video.js: 7.19.2 videojs-ima: 2.1.0 videojs-contrib-ads: 6.9.0 next: 12.1.0 react: 17.0.2

Kiro705 commented 1 year ago

Hello @stavkamil ,

I would recommend following the the advanced example, specifically how certain steps are taken if an iPad is detected.

When testing on an iPad, with the advanced example, I was able to see pre-roll ads successfully play. Are you able to see successful playback in the advanced sample with your iPad.

Thank you, Jackson IMA SDK team