VideoFrame: codedHeight Eigenschaft
Hinweis: Diese Funktion ist in Dedicated Web Workers verfügbar.
Die codedHeight
Eigenschaft des VideoFrame
Interfaces gibt die Höhe des VideoFrame
in Pixeln zurück. Diese kann möglicherweise nicht sichtbares Padding beinhalten und berücksichtigt potenzielle Verhältnis-Anpassungen noch nicht.
Wert
Ein ganzzahliger Wert.
Beispiele
Das folgende Beispiel gibt die codedHeight
in der Konsole aus.
js
console.log(VideoFrame.codedHeight);
Spezifikationen
Specification |
---|
WebCodecs # dom-videoframe-codedheight |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
codedHeight |
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.