[whatwg] Full screen for the <video> element

Jonas Sicking jonas at sicking.cc
Fri Oct 26 17:51:10 PDT 2007


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



More information about the whatwg mailing list