このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docsコミュニティーについてもっと知り、仲間になるにはこちらから。
VideoFrame: codedRect プロパティ
Baseline 2024Newly available
Since September 2024, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
codedRect はVideoFrame インターフェイスのプロパティで、幅と高さがVideoFrame.codedWidth とVideoFrame.codedHeight に一致するDOMRectReadOnly を返します。
In this article
値
DOMRectReadOnly です。
例
次の例はcodedRect をコンソールに出力します。
js
console.log(VideoFrame.codedRect);仕様書
| Specification |
|---|
| WebCodecs> # dom-videoframe-codedrect> |