- From: Xidorn Quan <notifications@github.com>
- Date: Tue, 28 Jun 2016 22:19:19 -0700
- To: whatwg/fullscreen <fullscreen@noreply.github.com>
- Cc:
- Message-ID: <whatwg/fullscreen/issues/34/229258919@github.com>
Let me raise another question: what are other dangerous features which currently require and only require a user gesture to activate? @mounirlamouri's example on the top of this issue is gUM, but as far as I can see, `getUserMedia` does not require a user gesture at all, not in Firefox, Chrome, or Edge. Asking for access to camera or microphone would always require an explicit approval from the user, rather than a simple user gesture. And given the requirement of an explicit approval, whether it is from a user gesture is not relevant. Having said this, I think the right way to go for now is probably to make orientation change event a user gesture in the HTML spec, not an exception here. But the question @foolip just raised also needs consideration. It seems to me that the timing of firing `change` event in the current Screen Orientation API spec isn't clear enough. I think that timing need to be clear before it can be added as a user gesture. (Actually, I don't think browsers follow the spec for what is considered as a user gesture. For example, `keypress` is not listed there, but I believe all browsers consider that event as a user gesture for opening popup and entering fullscreen, and holding back that would certainly break the web. At least Youtube uses keypress for fullscreen.) --- 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/34#issuecomment-229258919
Received on Wednesday, 29 June 2016 05:19:47 UTC