-
Notifications
You must be signed in to change notification settings - Fork 36
Description
WebKittens
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
Issue Tracker URL
Explainer URL
No response
TAG Design Review URL
No response
Mozilla standards-positions issue URL
mozilla/standards-positions#1325 (comment)
WebKit Bugzilla URL
WebKit Implementation
Firefox Implementation
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.