VideoPlaybackQuality

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since February 2020.

A VideoPlaybackQuality object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.

Instance properties

The VideoPlaybackQuality interface doesn't inherit properties from any other interfaces.

creationTime Read only

A DOMHighResTimeStamp containing the time in milliseconds between the start of the navigation and the creation of the object.

droppedVideoFrames Read only

An unsigned long giving the number of video frames dropped since the creation of the associated HTMLVideoElement.

totalVideoFrames Read only

An unsigned long giving the number of video frames created and dropped since the creation of the associated HTMLVideoElement.

Obsolete properties

corruptedVideoFrames Read only Deprecated

An unsigned long giving the number of video frames corrupted since the creation of the associated HTMLVideoElement. A corrupted frame may be created or dropped.

totalFrameDelay Read only Deprecated Non-standard

A double containing the sum of the frame delay since the creation of the associated HTMLVideoElement. The frame delay is the difference between a frame's theoretical presentation time and its effective display time.

Instance methods

The VideoPlaybackQuality interface has no methods, and does not inherit any.

Specifications

Specification
Media Playback Quality
# videoplaybackquality-interface

Browser compatibility

Report problems with this compatibility data on GitHub
desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
VideoPlaybackQuality
corruptedVideoFrames
Deprecated
creationTime
droppedVideoFrames
totalFrameDelay
DeprecatedNon-standard
totalVideoFrames

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support
Non-standard. Check cross-browser support before using.
Deprecated. Not for use in new websites.

See also