[whatwg] Video proposals

Anne van Kesteren annevk at opera.com
Sat Mar 17 04:01:47 PDT 2007

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

More information about the whatwg mailing list