[whatwg] Some <video> questions

Anne van Kesteren annevk at opera.com
Mon Jan 28 03:15:01 PST 2008

On Sun, 27 Jan 2008 23:06:53 +0100, Charles <lists07 at wiltgen.net> wrote:
> Apologies in advance if I've missed these details in the specification.
> The <video> element supports width and height.  Does this include the  
> additional area needed (if necessary) by the controls?  It strikes me  
> that it shouldn't, since it would be odd for the video width and height  
> to change when non-video "decorators" are shown/hidden.

They do affect that area as far as I can tell. They give the height and  
width of the video player.

> I don't see a "standard" controls height and width, which is fine, but  
> will there be read-only attributes for the width, height and position  
> for controls?

There are readonly attributes to get the height and width of the video.

Anne van Kesteren

More information about the whatwg mailing list