Skip to content

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

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

caugner merged 6 commits into
mdn:mainfrom
tunetheweb:lazy-load-media

Conversation

@tunetheweb

@tunetheweb tunetheweb commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

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 Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API data:html Compatibility data for HTML features. https://developer.mozilla.org/docs/Web/HTML size:l Pull request changing 101-1,000 lines of code. labels Mar 13, 2026
@github-actions

github-actions Bot commented Mar 13, 2026 •

Copy link
Copy Markdown
Contributor

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

Comment thread api/HTMLMediaElement.json
@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

caugner commented Mar 26, 2026

Copy link
Copy Markdown
Contributor

@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 Compatibility data for Web API features. https://developer.mozilla.org/docs/Web/API data:html Compatibility data for HTML features. https://developer.mozilla.org/docs/Web/HTML size:l Pull request changing 101-1,000 lines of code.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants