The preload attribute on <audio> and <video> is an enumerated hint about how much media to fetch before the user presses play: none, metadata, or auto.
It is not a guarantee — browsers may ignore it (data saver, mobile networks, user settings). Not the same as <link rel="preload"> (see rel). Pair with poster when using none on video.
Hint only · Spec suggests metadata as default.
Missing/invalid defaults are implementation-defined; the HTML Standard recommends the Metadata state as a compromise.
autoplay wins over preload.
If the media must play automatically, the browser will download what it needs regardless of your preload hint.
Syntax
HTML Syntax
syntax.html
<video preload="none | metadata | auto">
<audio preload="none | metadata | auto">
Empty string (preload="") means the same as auto. In JavaScript, read/write media.preload.
Values
Attribute Values
Choose a hint based on how likely the user is to play the media:
preload="auto" — browser may fetch the whole file.
How It Works
auto allows optimistic full download.
Same attribute works on <audio> and <video>.
Use sparingly — wastes data if the user never plays.
Empty preload="" is treated like auto.
Edge Cases & Pitfalls
Treat preload as advice — browsers often override it.
hint
Browsers may ignore the value
Data saver, cellular policies, or preferences can force none or metadata.
autoplay
autoplay overrides the hint
Playback requires buffering; including both attributes is allowed but preload is secondary.
many
Many videos → prefer none or metadata
Avoid auto on every player or you can stall other page resources.
link
Not <link rel="preload">
That is a different early-fetch hint for fonts, CSS, scripts, and more.
mse
MSE / streaming APIs
preload applies to simple src / <source> files, not Media Source Extensions streams.
Compatibility
Browser Support
preload is an HTML attribute on audio and video elements. It is not a Node.js, Deno, or Bun API.
✓ Widely available (hint)
preload
Supported across modern browsers as an advisory hint. Exact buffering still depends on the user agent and network conditions.
97%Global support (approx.)
Google ChromeYes
Full support
Mozilla FirefoxYes
Full support
Apple SafariYes
Full support
Microsoft EdgeYes
Full support
OperaYes
Full support
Samsung InternetYes
Full support
Internet Explorer9+
Supported
preloadWidely supported
Bottom line: Safe to set. Prefer metadata or none unless playback is highly likely; never treat preload as a hard download contract.
Remember
Key Takeaways
Role: hint how much media to fetch before play.
Values:none, metadata, auto.
Hint only — browsers may ignore it.
autoplay takes precedence when present.
One line:preload hints how aggressively to buffer <audio>/<video> — start with metadata or none unless play is almost certain.
Frequently Asked Questions
On <audio> and <video>, preload is an enumerated hint telling the browser how aggressively to fetch media before play: none, metadata, or auto. Browsers may ignore the hint.
none — do not preload; metadata — fetch length/dimensions (and maybe a little data); auto (or empty string) — the browser may download the whole resource.
It varies by browser. The HTML specification suggests metadata as a sensible default when the attribute is missing.
Yes. If autoplay is set, the browser must fetch enough media to play, regardless of the preload hint.
No. The media preload attribute hints buffering for audio/video elements. <link rel="preload"> is a separate resource hint for early fetching of fonts, scripts, and other assets.
No. It is a standard hint on HTMLMediaElement. Treat it as advisory, not a guarantee.