Skip to content

Chrome 147 adds loading attribute to audio/video behind flag#29256

Merged
caugner merged 6 commits intomdn:mainfrom
tunetheweb:lazy-load-media
Mar 26, 2026
Merged

Chrome 147 adds loading attribute to audio/video behind flag#29256
caugner merged 6 commits intomdn:mainfrom
tunetheweb:lazy-load-media

Conversation

@tunetheweb
Copy link
Copy Markdown
Contributor

@tunetheweb tunetheweb commented Mar 13, 2026

Summary

We're adding loading=lazy to <audio> and <video> attributes!

Coming to Chrome in 147 (behind a flag): https://chromestatus.com/feature/5200068565139456

FYI: @scottjehl @hjanuschka

Test results and supporting details

Audio:
https://wpt.fyi/results/html/semantics/embedded-content/the-audio-element?label=experimental&label=master&aligned

Video:
https://wpt.fyi/results/html/semantics/embedded-content/the-video-element?label=experimental&label=master&aligned

https://chromestatus.com/feature/5200068565139456

Implementation bugs:

Firefox and Safari implementations are being actively worked on but, as per policy, I've left this marked as "experimental" until two implementations land in stable.

More details:

Related issues

See spec updates here: whatwg/html#11980.

Content PR: mdn/content#43434

Makes progress on: mdn/mdn#809

@github-actions github-actions bot added data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:l [PR only] 101-1000 LoC changed labels Mar 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 13, 2026

Tip: Review these changes grouped by change (recommended for most PRs), or grouped by feature (for large PRs).

@hamishwillee hamishwillee marked this pull request as draft March 15, 2026 23:33
@tunetheweb tunetheweb marked this pull request as ready for review March 23, 2026 16:03
@caugner caugner changed the title Add loading attribute to audio and video Chrome 147 adds loading attribute to audio/video behind flag Mar 26, 2026
@caugner caugner enabled auto-merge (squash) March 26, 2026 10:42
@tunetheweb
Copy link
Copy Markdown
Contributor Author

Pardon my ignorance @caugner what does "auto-merge" mean here?

Does @hamishwillee need to approve as he's on the approver list as was looking earlier?

Or is it cause it's outdated? the "Update branch" button returns an error for me (apparently because auto merge is enabled!) :-(

image

@caugner caugner disabled auto-merge March 26, 2026 13:07
@caugner
Copy link
Copy Markdown
Contributor

caugner commented Mar 26, 2026

@tunetheweb This looks like a GitHub bug. Can you merge main and push? Hopefully that resolves the issue.

@tunetheweb
Copy link
Copy Markdown
Contributor Author

@tunetheweb This looks like a GitHub bug.

Been an increasing number of them lately!

Can you merge main and push? Hopefully that resolves the issue.

Done. Though looks in an even weirder state now 😔 Will keep an eye on it and see if it resolves itself. Worst case I'll open a new PR from a new branch if I have to!

@tunetheweb tunetheweb marked this pull request as draft March 26, 2026 13:16
@tunetheweb tunetheweb marked this pull request as ready for review March 26, 2026 13:16
@tunetheweb tunetheweb mentioned this pull request Mar 26, 2026
@caugner caugner closed this Mar 26, 2026
@caugner caugner reopened this Mar 26, 2026
@caugner caugner enabled auto-merge (squash) March 26, 2026 13:25
@caugner caugner merged commit c317c16 into mdn:main Mar 26, 2026
23 of 25 checks passed
@mdn-bot mdn-bot mentioned this pull request Mar 26, 2026
@tunetheweb tunetheweb deleted the lazy-load-media branch March 26, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

data:api Compat data for Web APIs. https://developer.mozilla.org/docs/Web/API data:html Compat data for HTML elements. https://developer.mozilla.org/docs/Web/HTML size:l [PR only] 101-1000 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants