Implemented by the <video> element, the HTMLVideoElement interface provides special properties and methods for manipulating video objects. It also inherits properties and methods of HTMLMediaElement and 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.
Returns a VideoPlaybackQuality object that contains the current playback metrics. This information includes things like the number of dropped or corrupted frames, as well as the total number of frames.
Registers a callback function that runs when a new video frame is sent to the compositor. This enables developers to perform efficient operations on each video frame.
122When this property is set to true, the overlay button to disable picture-in-picture (PiP) is hidden, but the user can still enable PiP.116–122["This property is undefined, but still has an effect if set to a value.", "When this property is set to true, the overlay button to disable picture-in-picture (PiP) is hidden, but the user can still enable PiP."]
56
13.1
105
122When this property is set to true, the overlay button to disable picture-in-picture (PiP) is hidden, but the user can still enable PiP.116–122["This property is undefined, but still has an effect if set to a value.", "When this property is set to true, the overlay button to disable picture-in-picture (PiP) is hidden, but the user can still enable PiP."]
72
13.4
20.0
No
enterpictureinpicture_event
69
79
No
56
13.1
105
No
72
13.4
20.0
No
getVideoPlaybackQuality
80
12
42
67
8
80
42
57
12.2
13.0
80
height
3
12
3.5
10.5
3.1
18
4
11
3
1.0
≤37
leavepictureinpicture_event
69
79
No
56
13.1
105
No
72
13.4
20.0
No
mozDecodedFrames
No
No
5
No
No
No
5
No
No
No
No
mozFrameDelay
No
No
5
No
No
No
5
No
No
No
No
mozHasAudio
No
No
15
No
No
No
15
No
No
No
No
mozPaintedFrames
No
No
5
No
No
No
5
No
No
No
No
mozParsedFrames
No
No
5
No
No
No
5
No
No
No
No
mozPresentedFrames
No
No
5
No
No
No
5
No
No
No
No
playsInline
75
79
No
62
10
75
No
54
10
11.0
75
poster
3
12
3.6
10.5
3.1
18
4
11
3
1.0
≤37
requestPictureInPicture
69
79
No
56
13.1
105
No
72
13.4
20.0
No
requestVideoFrameCallback
83
83
No
69
15.4
83
No
59
15.4
13.0
83
resize_event
3
7912–79The onresize event handler property is not supported.
3.5
10.5
3.1
18
4
11
3
1.0
≤37
videoHeight
3
12
3.5
10.5
3.1
18
4
11
3
1.0
≤37
videoWidth
3
12
3.5
10.5
3.1
18
4
11
3
1.0
≤37
width
3
12
3.5
10.5
3.1
18
4
11
3
1.0
≤37
See also
HTML element implementing this interface: <video>.