A RetroSearch Logo

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

Search Query:

Showing content from https://developer.cdn.mozilla.net/en-US/docs/Web/API/VideoFrame/codedRect below:

VideoFrame: codedRect property - Web APIs

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

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: codedRect 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 codedRect property of the VideoFrame interface returns a DOMRectReadOnly with the width and height matching VideoFrame.codedWidth and VideoFrame.codedHeight.

Value

A DOMRectReadOnly.

Examples

The following example prints the codedRect to the console.

js

console.log(VideoFrame.codedRect);
Specifications Specification WebCodecs
# dom-videoframe-codedrect
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