W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2011

[whatwg] Entering fullscreen when already in fullscreen mode [was: Fullscreen]

From: Glenn Maynard <glenn@zewt.org>
Date: Tue, 18 Oct 2011 10:24:27 -0400
Message-ID: <CABirCh-th1jT5d4FDna3rkOvUfU7sv-kUYr_anPk7A0T4Wb61A@mail.gmail.com>
On Tue, Oct 18, 2011 at 3:55 AM, Anne van Kesteren <annevk at opera.com> wrote:

> However, I just realized this does not work for the single document case.
> You have a video player website and you host your videos in <video> or maybe
> a <div> container. So your video player website is displayed fullscreen,
> because your users like the fullscreen application feel from their OS, but
> then they click to display one of those videos fullscreen and once they hit
> exit the video player website is also no longer displayed fullscreen.

Do you mean the user-fullscreen mode that most browsers enter with F11?
That's a separate piece of state entirely, since it affects the whole
browser window, not individual tabs.  (You should still be able to
enterFullscreen and exitFullscreen, to set and clear the fullscreen
element.  It just wouldn't change the browser window's actual fullscreen

Glenn Maynard
Received on Tuesday, 18 October 2011 07:24:27 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:37 UTC