VideoPlaybackQuality
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since March 2019.
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.
creationTimeRead only-
A
DOMHighResTimeStampcontaining the time in milliseconds between the start of the navigation and the creation of the object. droppedVideoFramesRead only-
An
unsigned longgiving the number of video frames dropped since the creation of the associatedHTMLVideoElement. totalVideoFramesRead only-
An
unsigned longgiving the number of video frames created and dropped since the creation of the associatedHTMLVideoElement.
Obsolete properties
corruptedVideoFramesRead only Deprecated-
An
unsigned longgiving the number of video frames corrupted since the creation of the associatedHTMLVideoElement. A corrupted frame may be created or dropped. totalFrameDelayRead only Deprecated Non-standard-
A
doublecontaining the sum of the frame delay since the creation of the associatedHTMLVideoElement. 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
Loading…
See also
- The
HTMLVideoElement.getVideoPlaybackQuality()method to get aVideoPlaybackQualityobject MediaSourceSourceBuffer