VideoFrame: duration-Eigenschaft
Hinweis: Diese Funktion ist in Dedicated Web Workers verfügbar.
Die duration
-Eigenschaft des VideoFrame
-Interfaces gibt eine ganze Zahl zurück, die die Dauer des Videos in Mikrosekunden angibt.
Wert
Eine ganze Zahl.
Beispiele
Das folgende Beispiel gibt die duration
in der Konsole aus.
js
console.log(VideoFrame.duration);
Spezifikationen
Specification |
---|
WebCodecs # dom-videoframe-duration |
Browser-Kompatibilität
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
duration |
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.