MSDN Library
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

videoWidth property

Gets the intrinsic width of a video in CSS pixels, or zero if the dimensions are not known.

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

 

Syntax

JavaScript

width = object.videoWidth

 

Property values

Type: number

The intrinsic width of a video in CSS pixels.

Standards information

Remarks

The intrinsic dimensions of a video are the value that is accounted for after the video's aspect ratio, clean aperture, resolution, and so forth, are defined.

See also

video element
video object

 

 

Show:
© 2016 Microsoft