"> " />
Easy Tutorial
❮ Tag Param Tag Bdo ❯

HTML <video> preload Attribute

HTML <video> Tag

Example

The video should not be loaded when the page loads:

&lt;video controls preload="none">
  <source src="movie.mp4" type="video/mp4">
  <source src="movie.ogg" type="video/ogg">
  Your browser does not support the video tag.
</video>

Browser Support

The preload attribute is supported by all major browsers except Internet Explorer.


Definition and Usage

The preload attribute specifies whether or not the video should be loaded after the page loads.

This attribute is ignored if the autoplay attribute is set.

Note: If the autoplay attribute is used, preload will be ignored.


Differences Between HTML 4.01 and HTML5

The <video> tag is new in HTML5.


Syntax

Attribute Values

Value Description
auto Indicates that the audio/video should start loading once the page loads.
metadata Indicates that only the metadata of the audio/video should be loaded after the page loads.
none Indicates that the audio/video should not be loaded after the page loads.
❮ Tag Param Tag Bdo ❯