[ Web Proxy ]
URL:
Viewing: https://developer.mozilla.org/ru/docs/Web/API/HTMLVideoElement [Back]  [Original]

HTMLVideoElement - API | MDN

This page was translated from English by the community. Learn more and join the MDN Web Docs community.

View in English Always switch to English

HTMLVideoElement

Baseline Widely available *

This feature is well established and works across many devices and browser versions. Its been available across browsers since 2015 ..

* Some parts of this feature may have varying levels of support.

HTMLVideoElement . HTMLMediaElement HTMLElement.

. , .

EventTarget Node Element HTMLElement HTMLMediaElement HTMLVideoElement

In this article

Inherits properties from its parent, HTMLMediaElement, and HTMLElement.

HTMLVideoElement.height

Is a String that reflects the height HTML attribute, which specifies the height of the display area, in CSS pixels.

HTMLVideoElement.poster

Is a String that reflects the poster HTML attribute, which specifies an image to show while no video data is available.

HTMLVideoElement.videoHeight

Returns an unsigned long containing the intrinsic height of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.

HTMLVideoElement.videoWidth

Returns an unsigned long containing the intrinsic width of the resource in CSS pixels, taking into account the dimensions, aspect ratio, clean aperture, resolution, and so forth, as defined for the format used by the resource. If the element's ready state is HAVE_NOTHING, the value is 0.

HTMLVideoElement.width

Is a String that reflects the width HTML attribute, which specifies the width of the display area, in CSS pixels.

Gecko-

HTMLVideoElement.mozParsedFrames

Returns an unsigned long with the count of video frames that have been parsed from the media resource.

HTMLVideoElement.mozDecodedFrames

Returns an unsigned long with the count of parsed video frames that have been decoded into images.

HTMLVideoElement.mozPresentedFrames

Returns an unsigned long with the count of decoded frames that have been presented to the rendering pipeline for painting.

HTMLVideoElement.mozPaintedFrames

Returns an unsigned long with the count of presented frames which were painted on the screen.

HTMLVideoElement.mozFrameDelay

Returns an double with the time which the last painted video frame was late by, in seconds.

HTMLVideoElement.mozHasAudio

Returns a Boolean indicating if there is some audio associated with the video.

Inherits methods from its parent, HTMLMediaElement, and HTMLElement.

HTMLVideoElement.getVideoPlaybackQuality()

Returns a VideoPlaybackQuality objects that contains the current playback metrics.

Specification
HTML
# htmlvideoelement


Web Proxy Viewer  |  New URL  |  Original Page