Firefox Tomorrow

web api instance property

VideoFrame: codedHeight property

View on MDN ↗

Available in workers

The codedHeight property of the VideoFrame interface returns the height of the VideoFrame in pixels, potentially including non-visible padding, and prior to considering potential ratio adjustments.

Value

An integer.

Examples

The following example prints the codedHeight to the console.

console.log(VideoFrame.codedHeight);

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.