Skip to content

Add support for video element lazy-loading via the loading attribute #1325

@scottjehl

Description

@scottjehl

Specification title

HTML Video Element Loading Attribute

Specification or proposal URL (if available)

https://whatpr.org/html/11980/media.html#attr-video-loading

Explainer URL (if available)

whatwg/html#11980

Proposal author(s)

@scottjehl

MDN URL

No response

Caniuse.com URL

No response

Bugzilla URL

No response

Mozillians who can provide input

@zcorpan

WebKit standards-position

WebKit/standards-positions#586

Other information

This is a request for Mozilla's position on adding support for video element lazy-loading via the loading attribute

The loading attribute for video 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.

Issue tracker ticket whatwg/html#10376

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Position is proposed

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions