Re: [whatwg/fullscreen] Allow fullscreen to be triggered by an orientation change event (#34)

Invoke `element.requestFullscreen()` in handler of [`change` event of `screen.orientation`](https://developer.mozilla.org/en-US/docs/Web/API/ScreenOrientation/onchange) should do that. Note that not all browsers support this currently. (Actually probably only Chrome supports it at the moment.)

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

Received on Saturday, 16 March 2019 06:13:48 UTC