[whatwg] video tag: pixel aspect ratio

Ian Hickson ian at hixie.ch
Mon Dec 1 00:37:18 PST 2008


On Mon, 1 Dec 2008, Jonas Sicking wrote:
> 
> Another thing, if I as a website developer find a video that was encoded 
> with the wrong pixel ratio, wouldn't the simplest, and most intuitive, 
> way to fix it be to simply set a width and height on video until it 
> looked approximately correct? Yes, it's a hack, and should not 
> discouraged, but so is pixelratio.
> 
> (haven't followed this discussion in detail so appologies if 
> width/height has been disqualified already)

width/height on <video> doesn't stretch, so that you can play videos of 
varying aspect ratios in the same surface without rendering issues.

-- 
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