[whatwg] VIDEO tag height/width best fit

Biju Gm@il bijumaillist at gmail.com
Wed Aug 6 20:26:06 PDT 2008


We found Firefox implementation is wrong for aspect ratio adjustment.
So if it is fixed and the developer really to change aspect ratio how
will he able to it.

Use case are
1) developer wants to give special effect.
2) to fix aspect ratio problem in the existing media.
    like http://simon.html5.org/test/html/semantics/video/002.htm
   (on my PC the girl in the video looks taller)

On Mon, Aug 4, 2008 at 6:58 AM, Ian Hickson <ian at hixie.ch> wrote:
> On Mon, 4 Aug 2008, Biju Gm at il wrote:

> It's automatically like this.
>
> # Video content should be rendered inside the element's playback area such
> # that the video content is shown centered in the playback area at the
> # largest possible size that fits completely within it, with the video
> # content's adjusted aspect ratio being preserved.
>  -- http://www.whatwg.org/specs/web-apps/current-work/#video



More information about the whatwg mailing list