VideoFrame: displayWidth プロパティ

displayWidthVideoFrame インターフェイスのプロパティで、アスペクト比の調整後の VideoFrame の幅を返します。

整数です。

次の例は displayWidth をコンソールに出力されます。

js
console.log(VideoFrame.displayWidth);

仕様書

Specification
WebCodecs
# dom-videoframe-displaywidth

ブラウザーの互換性

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
displayWidth

Legend

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

Full support
Full support