Improve autoplay for videos outside initial viewport #1590
Labels
[Plugin] Image Prioritizer
Issues for the Image Prioritizer plugin (dependent on Optimization Detective)
[Plugin] Optimization Detective
Issues for the Optimization Detective plugin
[Type] Enhancement
A suggestion for improvement of an existing feature
Milestone
This is a follow-up to #1498 / #1183
autoplay
takes precedence overpreload
. When we know that a video is not in the initial viewport, we could removeautoplay
in favor of anIntersectionObserver
-based implementation that only autoplays the video when actually visible.Related to #1035 which involves
IntersectionObserver
to lazy-load background images.The text was updated successfully, but these errors were encountered: