HTMLVideoElement.getVideoPlaybackQuality()

This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for the proper prefixes to use in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the spec changes.

The HTMLVideoElement.getVideoPlaybackQuality() creates and returns a VideoPlaybackQuality object containing metrics about the current quality of the video restitution.

Syntax

JavaScript
videoPQ = videoElement.getVideoPlaybackQuality();

Example

JavaScript
var videoElt = document.getElementById("my_vid");
var quality = videoElt.getVideoPlaybackQuality();

alert(quality.creationTime);

Specifications

Specification Status Comment
Media Source Extensions
The definition of 'HTMLVideoElement.getVideoPlaybackQuality()' in that specification.
Working Draft Initial definition.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support Not supported 25.0 (25.0) [1] Not supported ? Not supported
Feature Android Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support Not supported 25.0 (25.0) [1] Not supported ? Not supported

[1] Available after switching the about:config preference media.mediasource.enabled to true.

See also

License

© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/htmlvideoelement/getvideoplaybackquality

API Experimental Expérimental HTML DOM HTMLVideoElement Method Reference Référence