files/en-us/web/api/htmlvideoelement/index.md
{{APIRef("HTML DOM")}}
Implemented by the {{HTMLElement("video")}} element, the HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of {{domxref("HTMLMediaElement")}} and {{domxref("HTMLElement")}}.
The list of supported media formats varies from one browser to the other. You should either provide your video in a single format that all the relevant browsers supports, or provide multiple video sources in enough different formats that all the browsers you need to support are covered.
{{InheritanceDiagram}}
Inherits properties from its parent interface, {{domxref("HTMLMediaElement")}}, and {{domxref("HTMLElement")}}.
height HTML attribute, which specifies the height of the display area, in CSS pixels.poster HTML attribute, which specifies an image to show while no video data is available.width HTML attribute, which specifies the width of the display area, in CSS pixels.unsigned long with the count of video frames that have been parsed from the media resource.unsigned long with the count of parsed video frames that have been decoded into images.unsigned long with the count of decoded frames that have been presented to the rendering pipeline for painting.unsigned long with the count of presented frames which were painted on the screen.double with the time which the last painted video frame was late by, in seconds.Inherits methods from its parent interface, {{domxref("HTMLMediaElement")}}, and {{domxref("HTMLElement")}}.
Inherits events from its parent interface, {{domxref("HTMLMediaElement")}}, and {{domxref("HTMLElement")}}.
Listen to these events using {{domxref("EventTarget.addEventListener", "addEventListener()")}} or by assigning an event listener to the oneventname property of this interface.
HTMLVideoElement enters picture-in-picture mode successfully.HTMLVideoElement leaves picture-in-picture mode successfully.{{Specifications}}
{{Compat}}