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.
Properties
The VideoPlaybackQuality
interface doesn't inherit properties from any other interfaces.
creationTime
Read only- A
DOMHighResTimeStamp
containing the time in miliseconds 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 associatedHTMLVideoElement
. totalVideoFrames
Read only- An
unsigned long
giving the number of video frames created and dropped since the creation of the associatedHTMLVideoElement
.
Obsolete properties
corruptedVideoFrames
Read only- An
unsigned long
giving the number of video frames corrupted since the creation of the associatedHTMLVideoElement
. A corrupted frame may be created or dropped. totalFrameDelay
Read only- A
double
containing 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.
Methods
The VideoPlaybackQuality
interface has no methods, and does not inherit any.
Specifications
Specification | Status | Comment |
---|---|---|
Media Playback Quality The definition of 'VideoPlaybackQuality' in that specification. |
Editor's Draft | Initial definition. |
Browser compatibility
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.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
VideoPlaybackQuality | Chrome Full support 23 | Edge Full support 12 | Firefox
Full support
42
| IE
Full support
11
| Opera Full support 15 | Safari Full support 8 | WebView Android Full support 4.4.3 | Chrome Android ? | Firefox Android No support No | Opera Android Full support 14 | Safari iOS No support No | Samsung Internet Android ? |
corruptedVideoFrames | Chrome Full support 80 | Edge Full support 12 | Firefox
No support
42 — 73
| IE
Full support
11
| Opera Full support 67 | Safari Full support 8 | WebView Android Full support 80 | Chrome Android Full support 80 | Firefox Android No support No | Opera Android No support No | Safari iOS No support No | Samsung Internet Android No support No |
creationTime | Chrome Full support 23 | Edge Full support 12 | Firefox
Full support
42
| IE
Full support
11
| Opera Full support 15 | Safari Full support 8 | WebView Android Full support 4.4.3 | Chrome Android ? | Firefox Android No support No | Opera Android Full support 14 | Safari iOS No support No | Samsung Internet Android ? |
droppedVideoFrames | Chrome Full support 23 | Edge Full support 12 | Firefox
Full support
42
| IE
Full support
11
| Opera Full support 15 | Safari Full support 8 | WebView Android Full support 4.4.3 | Chrome Android ? | Firefox Android No support No | Opera Android Full support 14 | Safari iOS No support No | Samsung Internet Android ? |
totalFrameDelay | Chrome Full support 23 | Edge Full support 12 | Firefox
No support
25 — 30
| IE
Full support
11
| Opera Full support 15 | Safari Full support 8 | WebView Android Full support 4.4.3 | Chrome Android ? | Firefox Android No support No | Opera Android Full support 14 | Safari iOS No support No | Samsung Internet Android ? |
totalVideoFrames | Chrome Full support 23 | Edge Full support 12 | Firefox
Full support
42
| IE
Full support
11
| Opera Full support 15 | Safari Full support 8 | WebView Android Full support 4.4.3 | Chrome Android ? | Firefox Android No support No | Opera Android Full support 14 | Safari iOS No support No | Samsung Internet Android ? |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- Experimental. Expect behavior to change in the future.
- Experimental. Expect behavior to change in the future.
- Non-standard. Expect poor cross-browser support.
- Non-standard. Expect poor cross-browser support.
- Deprecated. Not for use in new websites.
- Deprecated. Not for use in new websites.
- See implementation notes.
- See implementation notes.
- User must explicitly enable this feature.
- User must explicitly enable this feature.
See also
- The
HTMLVideoElement.getVideoPlaybackQuality()
method to get aVideoPlaybackQuality
object MediaSource
SourceBuffer