このページはコミュニティーの尽力で英語から翻訳されました。MDN Web Docsコミュニティーについてもっと知り、仲間になるにはこちらから。
VideoFrame: codedHeight プロパティ
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.
codedHeight はVideoFrame インターフェイスのプロパティで、 VideoFrame の高さをピクセル単位で返すもので、目に見えないパディングも含む可能性があり、比率の調整を考慮する前のものです。
In this article
値
整数です。
例
次の例はcodedHeight をコンソールに出力します。
js
console.log(VideoFrame.codedHeight);仕様書
| Specification |
|---|
| WebCodecs> # dom-videoframe-codedheight> |