videoHeight property
Gets the intrinsic height of a video in CSS pixels, or zero if the dimensions are not known.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: number
The intrinsic height of a video in CSS pixels.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.6
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
- How to use HTML5 to play video files on your webpage
- Make your videos accessible with Timed Text Tracks
Show:

