HTMLVideoElement.getVideoPlaybackQuality()

This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

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

Syntax

videoPQ = videoElement.getVideoPlaybackQuality();

Example

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.
Candidate Recommendation Initial definition.

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support No support (Yes) 25.0 (25.0) [1][2] No support ? No support
Feature Android Edge Firefox Mobile (Gecko) IE Phone Opera Mobile Safari Mobile
Basic support No support (Yes) 25.0 (25.0) [1][2] No support ? No support

[1] Available after switching the about:config preference media.mediasource.enabled to true.
[2] Not available for WebRTC video streams.

See also

Document Tags and Contributors

 Contributors to this page: nmve, connor4312, libbymc, fscholz, teoli, kscarfone
 Last updated by: nmve,