[whatwg] Full screen for the <video> element

Gervase Markham gerv at mozilla.org
Thu Mar 22 03:11:10 PDT 2007


Simon Pieters wrote:
> Browsers are allowed to provide full screen, however there's no API for 
> it. Entering fullscreen should only be under the control of the user, 
> otherwise the author could hijack the user's screen and no way to get 
> out of it (e.g. as soon as the user tries to exit fullscreen, the script 
> goes back to fullscreen).

Indeed. But it would be good to have an event which triggers when the 
user chooses to go full screen, so the page can e.g. hide headers and 
borders. (Or perhaps the onresize() event on the body already does that?).

Gerv



More information about the whatwg mailing list