Skip to content

Issue with "Preloading content with rel="preload"": (link rel preload does not support 'as="audio"') #9577

@Superhands89

Description

@Superhands89

MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content

What information was incorrect, unhelpful, or incomplete?

The article includes "audio" as a possible value of "as" when creating a tag. But I do not believe any browsers support it.

Specific section or headline?

https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content#what_types_of_content_can_be_preloaded

What did you expect to see?

I expected to see my mp3 file preloaded

Did you test this? If so, how?

Tested in Chrome:

<link rel="preload" href="/assets/sound/sound-lazer.mp3" as="audio">

console error: uses an unsupported as value

MDN Content page report details

Metadata

Metadata

Labels

data:htmlCompat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions