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.
On this page
VideoPlaybackQuality
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
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
VideoPlaybackQuality |
23 | 12 | 42 |
11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
corruptedVideoFrames |
80 | 12 | 42–73 |
11Only works on Windows 8+. |
67 | 8 | 80 | 80 | No | 57 | No | 13.0 |
creationTime |
23 | 12 | 42 |
11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
droppedVideoFrames |
23 | 12 | 42 |
11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
totalFrameDelay |
No | 12–79 | No |
11Only works on Windows 8+. |
No | 8 | 4.4.3 | No | No | No | No | No |
totalVideoFrames |
23 | 12 | 42 |
11Only works on Windows 8+. |
15 | 8 | 4.4.3 | 25 | 42 | 14 | No | 1.5 |
See also
- The
HTMLVideoElement.getVideoPlaybackQuality()method to get aVideoPlaybackQualityobject MediaSourceSourceBuffer
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/VideoPlaybackQuality