VideoFrame: codedHeight プロパティ

codedHeightVideoFrame インターフェイスのプロパティで、 VideoFrame の高さをピクセル単位で返すもので、目に見えないパディングも含む可能性があり、比率の調整を考慮する前のものです。

整数です。

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

js
console.log(VideoFrame.codedHeight);

仕様書

Specification
WebCodecs
# dom-videoframe-codedheight

ブラウザーの互換性

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
codedHeight

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support