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

[whatwg] Full screen for the <video> element

From: Mihai Sucan <mihai.sucan@gmail.com>
Date: Sat, 13 Oct 2007 11:40:05 +0300
Message-ID: <op.tz4no3rmmcpsjgr0b0dp@athlon>
Le Sat, 13 Oct 2007 00:34:26 +0300, Ian Hickson <ian at hixie.ch> a ?crit:

> On Wed, 21 Mar 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).

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

Mihai Sucan
Received on Saturday, 13 October 2007 01:40:05 UTC

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