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

I would probably be against allowing `requestFullscreen()` inside `DOMContentLoaded` or `load`, because timing of those events can be controlled by websites.

I think the purpose of the current mitigations is to make users see reaction immediately after their input, so that they realize the relationship between the action and the outcome. However, that doesn't work for these two events.

I guess you misunderstand the security concern for this spec. The main concern is we don't want websites to be able to jump into fullscreen in an unexpected way for users. Whether the opener page can control is somehow less concerning.

For your specific use case, I think what may make sense is to integrate the slide show page in the current page, and request fullscreen in the first click, then load slides into the fullscreen container.

---
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-203233325

Received on Wednesday, 30 March 2016 03:48:08 UTC