HTMLVideoElement.getVideoPlaybackQuality()

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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

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

Syntax

videoPQ = videoElement.getVideoPlaybackQuality();

Return value

A VideoPlaybackQuality object providing information about the video element's current playback quality.

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

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support2312

42

25 — 421 2

113158
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support33 ? Yes No30 No ?

1. Limited support to a whitelist of sites, for example YouTube, Netflix, and other popular streaming sites. The whitelist was removed when Media Source Extensions was enabled by default in Firefox 42.

2. From version 25 until version 42 (exclusive): this feature is behind the media.mediasource.enabled preference. To change preferences in Firefox, visit about:config.

3. Only works on Windows 8+.

See also

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

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