HTMLVideoElement.getVideoPlaybackQuality()

Our volunteers haven't translated this article into 日本語 yet. Join us and help get the job done!
You can also read the article in English (US).

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

ドキュメントのタグと貢献者

 このページの貢献者: nmve, connor4312, libbymc, fscholz, teoli, kscarfone
 最終更新者: nmve,