web api instance property
VideoFrame: visibleRect property
Available in workers
The visibleRect property of the VideoFrame interface returns a DOMRectReadOnly describing the visible rectangle of pixels for this VideoFrame.
Value
Examples
The following example prints the visibleRect to the console.
console.log(VideoFrame.visibleRect);
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.