Export (0) Print
Expand All

preload property

Gets or sets a hint to how much buffering is advisable for a media resource, even if autoplay isn't specified.

HTML5 A vocabulary and associated APIs for HTML and XHTML, Section 4.8.9.5Internet Explorer 9

Syntax

JavaScript

buffering = object.preload

Property values

Type: String

none

The document author does not expect the user to need the media resource, or the server wants to minimize unnecessary traffic.

metadata

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.

auto

The document author gives the user access to media content, which includes the ability to download the entire resource.

Standards information

See also

audio element
audio object
media
video element
video object

 

 

Show:
© 2014 Microsoft