VideoFrame: duration property - Web APIs | MDN

Value

An integer.

Examples

The following example prints the duration to the console.

js

console.log(VideoFrame.duration);

Specifications

Specification
WebCodecs
# dom-videoframe-duration

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on by MDN contributors.