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

[whatwg] Video proposals

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 17 Mar 2007 12:01:47 +0100
Message-ID: <op.tpbx89q864w2qv@id-c0020>
On Sat, 17 Mar 2007 11:56:53 +0100, Shadow2531 <shadow2531 at gmail.com>  
> For example, every video page on a site might have a 400 x 400 video
> element (to fit with the layout for example), but the video that plays
> in it will range in size and aspect ratio.
> A way to solve that so the layout of the page is not disrupted would
> be to have the video element represent the video screen area where the
> video itself can be scaled and centered inside it by the browser.
> For example, if the 400 x 400 video element plays a 640 x 480 video
> and keepaspect is set, the video would show centered inside the screen
> area at 400 x 300. If keepaspect is not set, the video would show at
> 400 x 400.

That's how <video> is defined now. Except that "keepaspect" is the default  
behavior and there's no way to switch. Perhaps people should reread the  

Anne van Kesteren
Received on Saturday, 17 March 2007 04:01:47 UTC

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