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

[whatwg] Full screen for the <video> element

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 26 Oct 2007 00:48:53 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0710260045450.10579@hixie.dreamhostps.com>
On Sat, 13 Oct 2007, Mihai Sucan wrote:
> > > 
> > > Shouldn't the video API include a way to toggle full screen on/off? 
> > > This is a rather basic feature of videos. If it will not be 
> > > available, video sites will hack around missing full screen support.
> > > 
> > > The current spec doesn't define it.
> > 
> > Currently, the spec recommends that user agents provide a way to 
> > switch the view of the video to full-screen. We can't provide a 
> > programatic way of doing it because it is too easily abused. (Can you 
> > imagine if every time you went to a new site, a full-window or 
> > full-screen advert played?)
> 
> Yep, that's a problem. I was also thinking along the lines of allowing 
> fullscreen() within non-synthetic event handlers, in a similar fashon to 
> popups (just like Kornel suggested).

Given how often popups are abused today even with those requirements, I 
hesitate to do this. (Can you imagine if every time you clicked a link to 
go to a new site, a full-window or full-screen advert played?)


> If that's not a desirable solution, then other solutions, which don't 
> require confirmation, are not easy to find.

Indeed (and explicit confirmation is pretty bad UI).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 25 October 2007 17:48:53 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:37 UTC