[whatwg] video tag: pixel aspect ratio

Ian Hickson ian at hixie.ch
Mon Dec 1 04:39:29 PST 2008


On Mon, 1 Dec 2008, Philip Jägenstedt wrote:
>
> Now that the pixelratio override is gone, shouldn't the influence of 
> pixel aspect ratio on the layout be removed also?

It is, isn't it? What did I leave in?


> I would prefer if the default were to stretch to fit if both 
> width/height are given, just like for img. Letterboxing/pillarboxing 
> should be the special case, is the idea that we should have the 
> equivalent of SVG:s preserveAspectRatio either via CSS or HTML?

We definitely don't want to stretch the video. One of the important use 
cases if having a video playback area and then playing videos with 
different aspect ratios in that playback area. It should all just work.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'


More information about the whatwg mailing list