NEW303995
Implement HTML video element lazy-loading via the loading attribute
https://bugs.webkit.org/show_bug.cgi?id=303995
Summary Implement HTML video element lazy-loading via the loading attribute
sjehl
Reported 2025-12-11 07:48:05 PST
This is a request to add support for the loading attribute for HTML video elements, which would facilitate lazy-loading for video. 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. As an aside, we are interested in helping implement a patch for this. Related links: - HTML Standard Spec Change Proposal https://github.com/whatwg/html/pull/11980 - Github Issue https://github.com/whatwg/html/issues/10376 - Mozilla Standards Position: Positive https://github.com/mozilla/standards-positions/issues/1325 - Webkit Standards Position: Pending https://github.com/WebKit/standards-positions/issues/586 - Corresponding Gecko Bug Tracker: https://bugzilla.mozilla.org/show_bug.cgi?id=2005072
Attachments
Note You need to log in before you can comment on or make changes to this bug.