VideoFrame: displayWidth プロパティ
displayWidth
は VideoFrame
インターフェイスのプロパティで、アスペクト比の調整後の VideoFrame
の幅を返します。
値
整数です。
例
次の例は displayWidth
をコンソールに出力されます。
js
console.log(VideoFrame.displayWidth);
仕様書
Specification |
---|
WebCodecs # dom-videoframe-displaywidth |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
displayWidth |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.