Firefox Tomorrow

web api instance property

VideoPlaybackQuality: totalFrameDelay property

View on MDN ↗

The VideoPlaybackQuality.totalFrameDelay read-only property returns a double containing the sum of the frame delay since the creation of the associated HTMLVideoElement. The frame delay is the difference between a frame’s theoretical presentation time and its effective display time.

Value

A number.

Examples

const videoElt = document.getElementById("my_vid");
const quality = videoElt.getVideoPlaybackQuality();

alert(quality.totalFrameDelay);

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also