A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/VideoFrame/visibleRect below:

VideoFrame: visibleRect property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. VideoFrame
  4. visibleRect

Filter sidebar

In this article
  1. VideoFrame
  2. Constructor
    1. VideoFrame()
  3. Instance properties
    1. codedHeight
    2. codedRect
    3. codedWidth
    4. colorSpace
    5. displayHeight
    6. displayWidth
    7. duration
    8. flip Experimental
    9. format
    10. rotation Experimental
    11. timestamp
    12. visibleRect
  4. Instance methods
    1. allocationSize()
    2. clone()
    3. close()
    4. copyTo()
In this article VideoFrame: visibleRect property

Baseline 2024

Newly available

Since September 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.

Note: This feature is available in Dedicated Web Workers.

The visibleRect property of the VideoFrame interface returns a DOMRectReadOnly describing the visible rectangle of pixels for this VideoFrame.

Value

A DOMRectReadOnly.

Examples

The following example prints the visibleRect to the console.

js

console.log(VideoFrame.visibleRect);
Specifications Specification WebCodecs
# dom-videoframe-visiblerect
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on May 8, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4