このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docs コミュニティーについてもっと知り、仲間になるにはこちらから。

View in English Always switch to English

VideoFrame: codedRect プロパティ

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.

>

codedRectVideoFrame インターフェイスのプロパティで、幅と高さが VideoFrame.codedWidthVideoFrame.codedHeight に一致する DOMRectReadOnly を返します。

DOMRectReadOnly です。

次の例は codedRect をコンソールに出力します。

js
console.log(VideoFrame.codedRect);

仕様書

Specification
WebCodecs>
# dom-videoframe-codedrect>

ブラウザーの互換性