Skip to content

Add loading attribute for audio and video#43434

Draft
tunetheweb wants to merge 16 commits intomdn:mainfrom
tunetheweb:lazy-load-media-content
Draft

Add loading attribute for audio and video#43434
tunetheweb wants to merge 16 commits intomdn:mainfrom
tunetheweb:lazy-load-media-content

Conversation

@tunetheweb
Copy link
Contributor

@tunetheweb tunetheweb requested review from a team as code owners March 13, 2026 19:08
@tunetheweb tunetheweb requested review from hamishwillee and removed request for a team March 13, 2026 19:08
@github-actions github-actions bot added Content:HTML Hypertext Markup Language docs Content:WebAPI Web API docs Content:Learn Learning area docs Content:Performance Web performance docs size/m [PR only] 51-500 LoC changed labels Mar 13, 2026
@github-actions
Copy link
Contributor

github-actions bot commented Mar 13, 2026

Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @tunetheweb . I'd prefer to wait until BCD data is accepted before we merge this. Otherwise it is not obvious that this feature is not actually avaiable on any browser.

tunetheweb and others added 8 commits March 16, 2026 19:49
…index.md

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Copy link
Collaborator

@hamishwillee hamishwillee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few nits added but this looks good. Won't mark as approved until BCD goes in, because otherwise someone is likely to merge prematurely.

Co-authored-by: Hamish Willee <hamishwillee@gmail.com>
@tunetheweb
Copy link
Contributor Author

Thanks Hamish! Hopefully that Spec PR gets merged soon and the rest of these PRs can fall like dominoes 😁

Also happy to convert this PR to draft in the meantime if that’s easier for you all.

@hamishwillee
Copy link
Collaborator

Thanks Barry. Yeah, I'll press that convert to draft button now.

If you don't mind doing this in two phases you can probably get this in without waiting for the spec. Essentially BCD could go in without the spec and this would be "non-standard" - and then this PR could merge. Then when the spec goes in you'd update BCD and the docs would automatically update this to no longer be non-standard.

@hamishwillee hamishwillee marked this pull request as draft March 16, 2026 22:13
@tunetheweb
Copy link
Contributor Author

The spec PR is all but approved IIUC. To be honest I expected the review of both my PRs to take longer and that to be merged by the time this was finished! But you’re all too efficient! 😁

So will give it another few days. Of it drags on and the Chrome implementation lands then will reconsider as quite like having things documented when available. Then again if marked as “non-standard” then it might put some people off anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Content:HTML Hypertext Markup Language docs Content:Learn Learning area docs Content:Performance Web performance docs Content:WebAPI Web API docs size/m [PR only] 51-500 LoC changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants