Re: [whatwg/fullscreen] Internal iframe fullscreen event missing? (#179)

@upsuper is correct that there was never the intention of dispatching `fullscreenchange` on documents inside iframes in this scenario. This may be an oversight and something worth fixing, but at least not an accidental bug in the spec.

@luwes I've had a look at https://jsfiddle.net/wgb1k0ma/ but can you give some more detail on the UX you're trying to achieve? Is it that you want a button that's visually outside the iframe that would go fullscreen? Normally the fullscreen button is over the video itself.

If you have coordination between the two origins involved via postMessage, then you'll be able to make this work, but it does sound cumbersome. For exiting, I think you'll find that `documentInIframe.exitFullscreen()` won't work if nothing in that document is fullscreen, but asking the parent to exit fullscreen on its behalf should work.

cc @mustaqahmed as user activation is involved here. However, I think the platform changes to make user activation more rational will make this sort of thing harder if anything.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fullscreen/issues/179#issuecomment-677436615

Received on Thursday, 20 August 2020 07:52:36 UTC