HTML 5: The Markup Language (ARIA Edition)

videovideo # T

The video element represents a video or movie.

Content model #

video.elem.flow =
(video.attrs.src | source*), (normal-character-data & common.elem.flow*) & video.attrs
video.elem.phrasing =
(video.attrs.src | source*), (normal-character-data & common.elem.phrasing*) & video.attrs

Attribute model #

Element-specific attributes #

autoplay =
Instructs the UA to automatically begin playback of the video as soon as it can do so without stopping.
autobuffer =
Instructs the UA that the author believes that downloading the entire video optimistically will be worthwhile.
controls =
Instructs the UA to expose a user interface for controlling playback of the video.
loop =
Instructs the UA to seek back to the start of the video upon reaching the end.
poster = uri
The address of an image file for the UA to show while no video data is available.
height = integer.positive
The height of the video, in CSS pixels.
width = integer.positive
The width of the video, in CSS pixels.
src = uri
The URL for the video.

Assertions #

Tag omission #

A video element must have both a start tag and an end tag.

Permitted contexts #