Firefox Tomorrow

web api instance property

VideoFrame: displayHeight property

View on MDN ↗

Available in workers

The displayHeight property of the VideoFrame interface returns the height of the VideoFrame after applying aspect ratio adjustments.

Value

An integer.

Examples

The following example prints the displayHeight to the console.

console.log(VideoFrame.displayHeight);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.