Re: [whatwg/fullscreen] Allow fullscreen on initial load of a page (#36)

Allowing any page to go fullscreen on initial load is more than would be required to solve the use case @duanyao describes I think. It's simpler than other solutions we can come up with, but probably *too* simple in that no user gesture at all is required.

Within an origin a site could change the URL and go fullscreen by using `history.pushState` and `requestFullscreen`, so *in principle* there's no reason why one origin shouldn't be able to collaborate with another to achieve the same thing.

@duanyao, even with the drawbacks you describe, have you tried to implement the fullscreen+iframe solution with the collaboration of the embedder? And what are the downsides of just providing an iframs snippet that sites can embed, and having the fullscreen button in the iframe? That's how YouTube does it, at least.

-- 
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/36#issuecomment-247987478

Received on Monday, 19 September 2016 13:06:13 UTC