videojs-ima-player icon indicating copy to clipboard operation
videojs-ima-player copied to clipboard

fix IOS skippable ads fullscreen toggle

Open mysuf opened this issue 7 years ago • 1 comments

Now, it behaves exactly how https://developers.google.com/interactive-media-ads/docs/sdks/html5/skippable-ads describes. It forces content player to enter/exit fullscreen which break fullscreen implementation on mobile IOS. The solution will be probably not supporting tech's fullscreen on IOS and to force full window instead.

The question is how it should work when content player is already in fullscreen - programatically exited fullscreen and switch to full window could lead to blinking and bad user experience...

mysuf avatar May 02 '18 17:05 mysuf

One solution is adding browser-manager plugin to ima player. When iOS detected, it would add playsinline attribute to tech element and override content player's enter/exit fullscreen methods by passing enter/exit fullWindow methods instead.

mysuf avatar Jun 10 '18 13:06 mysuf