Skip to content

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

@scottjehl

Description

@scottjehl

WebKittens

@annevk

Title of the proposal

HTML Video Element Loading Attribute

URL to the spec

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

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

Radar URL

No response

Description

This is a request for WebKit'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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions