---
title: "VideoPlaybackQuality | JavaScript maps SDK"
description: "Documentation for MapTiler SDK"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# Interface VideoPlaybackQuality

A **`VideoPlaybackQuality`** object is returned by the HTMLVideoElement.getVideoPlaybackQuality() method and contains metrics that can be used to determine the playback quality of a video.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality)

interface VideoPlaybackQuality {  
    [corruptedVideoFrames](#corruptedvideoframes): number;  
    [creationTime](#creationtime): number;  
    [droppedVideoFrames](#droppedvideoframes): number;  
    [totalVideoFrames](#totalvideoframes): number;  
}

##### Index

### Properties[](#properties)

[corruptedVideoFrames](#corruptedvideoframes) [creationTime](#creationtime) [droppedVideoFrames](#droppedvideoframes) [totalVideoFrames](#totalvideoframes)

## Properties[](#properties-1)

### `Readonly`corruptedVideoFrames[](#corruptedvideoframes)

corruptedVideoFrames: number

The VideoPlaybackQuality interface's read-only **`corruptedVideoFrames`** property the number of corrupted video frames that have been received since the element was last loaded or reloaded.

#### Deprecated[](#deprecated)

[MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/corruptedVideoFrames)

### `Readonly`creationTime[](#creationtime)

creationTime: number

The read-only **`creationTime`** property on the VideoPlaybackQuality interface reports the number of milliseconds since the browsing context was created this quality sample was recorded.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/creationTime)

### `Readonly`droppedVideoFrames[](#droppedvideoframes)

droppedVideoFrames: number

The read-only **`droppedVideoFrames`** property of the VideoPlaybackQuality interface returns the number of video frames which have been dropped rather than being displayed since the last time the media was loaded into the HTMLVideoElement.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/droppedVideoFrames)

### `Readonly`totalVideoFrames[](#totalvideoframes)

totalVideoFrames: number

The VideoPlaybackQuality interface's **`totalVideoFrames`** read-only property returns the total number of video frames that have been displayed or dropped since the media was loaded.

[MDN Reference](https://developer.mozilla.org/docs/Web/API/VideoPlaybackQuality/totalVideoFrames)
