Get to know MDN better
This feature is well established and works across many devices and browser versions. It’s been available across browsers since February 2020.
The HTMLVideoElement method getVideoPlaybackQuality() creates and returns a VideoPlaybackQuality object containing metrics including how many frames have been lost.
The data returned can be used to evaluate the quality of the video stream.
None.
A VideoPlaybackQuality object providing information about the video element's current playback quality.
This example updates an element to indicate the total number of video frames that have elapsed so far in the playback process. This value includes any dropped or corrupted frames, so it's not the same as "total number of frames played."
| Media Playback Quality # dom-htmlvideoelement-getvideoplaybackquality |
Enable JavaScript to view this browser compatibility table.
This page was last modified on Apr 7, 2023 by MDN contributors.
Your blueprint for a better internet.
Visit Mozilla Corporation’s not-for-profit parent, the Mozilla Foundation.
Portions of this content are ©1998–2026 by individual mozilla.org contributors. Content available under a Creative Commons license.