W3C home > Mailing lists > Public > whatwg@whatwg.org > June 2010

[whatwg] <video>

From: Biju <bijumaillist@gmail.com>
Date: Sun, 20 Jun 2010 19:25:10 -0400
Message-ID: <AANLkTik6OCMQcmbZ_cu561OLdcvjWakHKus4LzvTuq6s@mail.gmail.com>
On Sun, Jun 20, 2010 at 5:07 PM, Mike Wilcox <mike at mikewilcox.net> wrote:
> I sincerely hope developers' needs aren't made secondary in such debates.
> While I appreciate proper browser security, in some cases it forces us to
> just look for workarounds to circumvent the security. The lack of fullscreen
> is a serious issue for us as we deal with clients and superiors who ask us
> to replace the Flash video player with an HTML5 video player... only to have
> us go back to them and say "Here is the cool player with custom controls...
> sorry, you can't do fullscreen though, it's not allowed". The obvious
> response to this is "Flash can,?why can't HTML5?" and "well, let's just use
> Flash then."

Actually a web developer can already implement a HTML5 VIDEO
FullScreen solution for Firefox.
(Hope same can be with other HTML5 Browsers)

Here are the steps
* Provide a full screen control button.
* Popup an overlay message is asking
   "Please confirm by pressing F11 key if you want to go Full Screen Mode VIDEO"
* watch for window.onresize event
* on window.onresize event
   - check we are doing the "overlay message" for FullScreen
   - then if window.fullScreen=true make the video big as window
client area positioned topleft of th epage

* Additionally on window.onload if window.fullScreen=true then ask
user if he want to do full screen.

Bugs on this subject
Received on Sunday, 20 June 2010 16:25:10 UTC

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