← Back to release summary

HTMLVideoElement.getVideoPlaybackQuality()

Category
Multimedia
Type
New or changed feature
Status
Enabled by default (Chrome 80)
Intent stage
Evaluate readiness to ship

WPT details: Interface test https://github.com/web-platform-tests/wpt/blob/master/media-playback-quality/idlharness.window.js https://wpt.fyi/results/media-playback-quality/idlharness.window.html?label=master&label=experimental&aligned Behavior test (dated assumptions - will update this prior to shipping) https://github.com/web-platform-tests/wpt/blob/master/media-source/mediasource-getvideoplaybackquality.html https://wpt.fyi/results/media-source/mediasource-getvideoplaybackquality.html?label=experimental&label=master&aligned

Summary

This simple API tells sites how a video playback is performing. When performance is poor, sites may use the information to reduce the video bitrate / framerate / resolution for a better user experience.

Motivation

Video performance info is useful to improve the user experience. Chrome should ship the API to achieve interop with other UAs.

Standards & signals

Ecosystem

Docs: https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/getVideoPlaybackQuality

Explainers: https://w3c.github.io/media-playback-quality/

View on chromestatus.com