[whatwg] Full screen for the <video> element

Martin Hassman martin.hassman at gmail.com
Wed Mar 21 13:17:14 PDT 2007

On 3/21/07, Simon Pieters <zcorpan at gmail.com> wrote:
> On Wed, 21 Mar 2007 20:11:57 +0100, Mihai Sucan <mihai.sucan at gmail.com>
> wrote:
> > Shouldn't the video API include a way to toggle full screen on/off?
> 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).

Only quick look at youtube, video.google.com, stream.cz (czech youtube),
flash video player <http://www.jeroenwijering.com/?item=Flash_Video_Player>
and others gives me the impression that "fullscreen video switch" is now

In the spec I read: "User agents may allow users to view the video content
in manners more suitable to the user (e.g. full-screen or in an independent
resizable window). As for the other user interface features, controls to
enable this should not interfere with the page's normal rendering."

I feel conflict here:

 a) UA provide some Fullscreen item in popup menu (from the discussion seems
for me that there shouldn't be any UA-GUI in page than popup menu)
 b) web author give some Fullscreen button inside his video controls (to
look it like youtube etc.)

If for b) author doesn't have API and make it owns way, there will be two
independent fullscreens for every video. 1st way the browser allows
fullscreen and 2nd way the page author make fullscreen.

Fullscreen here does not necessary mean switching browser to fullscreen
mode, look e.g. like youtube has it.

Martin Hassman
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070321/e9c0498f/attachment-0001.htm>

More information about the whatwg mailing list