preload property
Gets or sets a hint to how much buffering is advisable for a media resource, even if autoplay isn't specified.
![]() ![]() |
Syntax
| JavaScript | |
|---|
Property values
Type: String
-
The document author does not expect the user to need the media resource, or the server wants to minimize unnecessary traffic.
-
The document author does not expect the user to need the resource. However, if the resource metadata (dimensions, first frame, track list, duration, and so on) is available, using a resource is preferred unless it impacts performance to do so.
-
The document author gives the user access to media content, which includes the ability to download the entire resource.
Standards information
- HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.5
See also
Show:

