Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
width
Collapse the table of content
Expand the table of content

width property

Gets or sets the width of the video element.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.6Internet Explorer 9

 

Syntax

object.put_width(
        number
       width);object.get_width(
        number
      * width);

Property values

Type: number

The width of the video element.

Standards information

See also

How to use HTML5 to play video files on your webpage
Make your videos accessible with Timed Text Tracks

 

 

Community Additions

ADD
Show:
© 2015 Microsoft