VideoFrame: displayWidth-Eigenschaft
Hinweis: Diese Funktion ist in Dedicated Web Workers verfügbar.
Die displayWidth
-Eigenschaft des VideoFrame
-Interfaces gibt die Breite des VideoFrame
nach der Anwendung von Seitenverhältnis-Anpassungen zurück.
Wert
Ein Integer.
Beispiele
Das folgende Beispiel gibt die displayWidth
in der Konsole aus.
js
console.log(VideoFrame.displayWidth);
Spezifikationen
Specification |
---|
WebCodecs # dom-videoframe-displaywidth |
Browser-Kompatibilität
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.