kslimani/clappr-google-ima-html5-preroll

Fullscreen is broken after ad display

Closed this issue · 3 comments

Can reproduce with Firefox 47.0.1 and Windows 7 on demo page.

Double-click on video after ad display may crash the player.

Error message is something like The request for access to full-screen was denied because Element.requestFullScreen () was not called within a user-generated event handler.

Curious... it seems it may be related to ima iframe created inside plugin div. If i manually delete the plugin node, the double-click work again.

TODO: uncomment the destroy() call at end of ad scenario in plugin and test again. (since it is only preroll, ima iframe is not needed anymore when ad displayed).

Fixed by aad0e7c.

Node is hide instead of destroy to ensure that tracking requests are properly sent. (destroy may prevent that). See ed10865.