Skip to content

Add support for video and audio element lazy-loading via the loading attribute #586

Closed

Description

@scottjehl

WebKittens

@annevk

Title of the proposal

HTML Video Element Loading Attribute

URL to the spec

https://whatpr.org/html/11980/media.html#the-video-element

URL to the spec's repository

whatwg/html#11980

Issue Tracker URL

whatwg/html#10376

Explainer URL

No response

TAG Design Review URL

No response

Mozilla standards-positions issue URL

mozilla/standards-positions#1325 (comment)

WebKit Bugzilla URL

No response

WebKit Implementation

WebKit/WebKit#58220

Firefox Implementation

WebKit/WebKit#58220

Chrome Implementation

https://chromium-review.googlesource.com/c/chromium/src/+/7511253

Web Platform Tests

Merged web-platform-tests/wpt#57051

Radar URL

rdar://problem/166791801

Description

This is a request for WebKit's position on adding support for video and audio element lazy-loading via the loading attribute.

2 vendors are positive on this and support is merged in Chrome Canary.

The loading attribute for video and audio would use similar conventions to img and iframe, where the attribute has precedent, and provides performance benefits. It would have possible values of eager and lazy. When the loading attribute value is lazy, loading of any video or poster image data, as well as autoplay playback, must defer until layout is known and the video is in the viewport.

Activity

  1. added
    topic: html
    topic: media
    on Jan 27, 2026
  2. bkardell commented on Feb 5, 2026

    @bkardell
    Collaborator

    Note: Mozilla position is positive

    I'm pretty sure this came up as a thing we should probably do in past conversations.

  3. scottjehl commented on Feb 25, 2026

    @scottjehl
    Author

    Some recent updates that may help inform Webkit's official position:

    Please let us know if there are any questions we can answer as you consider your position on this proposal.

  4. changed the title [-]Add support for video element lazy-loading via the loading attribute[/-] [+]Add support for video and audio element lazy-loading via the loading attribute[/+] on Feb 25, 2026
  5. bkardell commented on Mar 12, 2026

    @bkardell
    Collaborator

    We (Igalia) support this and propose to mark as supported and close.

  6. annevk commented on Mar 12, 2026

    @annevk
    Contributor

    The WebKit team at Apple concurs, let's make it so in a week assuming no objections.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    position: supporttopic: htmltopic: mediavenue: WHATWG HTML Workstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions