This module automatically adds native lazy loading to all iframes, including those added by the iframe, video_embed_field, and ckeditor_iframe modules. This improves page performance by deferring the loading of offscreen iframes.
This module automatically adds native lazy loading to iframes.
(This functionality was taken from the native_lazy_loading module because it is deprecated.)
Features
It adds a loading="lazy" to iframes from the following modules:
- iframe (#3470426: Native lazy loading)
- video_embed_field (#3359973: Native lazy loading)
- ckeditor_iframe (#3516459: Native lazy loading)
Post-Installation
There is no configuration, it automatically adds lazy loading to every iframe.