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

[whatwg] Full screen for the <video> element

From: Jonas Sicking <jonas@sicking.cc>
Date: Fri, 26 Oct 2007 17:51:10 -0700
Message-ID: <47228B7E.8020103@sicking.cc>
Ian Hickson wrote:
> On Fri, 26 Oct 2007, Jonas Sicking wrote:
>> I imagine what will happen is that pages will create a <video> that 
>> covers the whole content area of the current window and then have some 
>> mechanism that minimizes the video again.
>>
>> I could see an argument for having an API that maximizes the video 
>> within the content area of the current window and adds some sort of 
>> browser specific UI to minimize it again.
>>
>> However, it isn't clear that sites will prefer that over having their 
>> users choose 'fullscreen' from the context menu (or whatever other UI 
>> the browser chooses to use).
>>
>> Actually, the more I think about it the more I like the idea of an API 
>> for "fullwindow". What do other people think?
> 
> Why do we need an API for it? Just use CSS. It's a few lines of code.

The only reason would be that it'd give a unified UI for un-maximizing 
the video. I.e. the UI would be provided by the browser rather than the 
page.

But I agree it's not a strong reason, and if nothing else could wait to 
a later version to verify that there actually is a desire for such a 
feature.

/ Jonas
Received on Friday, 26 October 2007 17:51:10 UTC

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