Option to disable lazy-load on YouTube placeholder images
-
Hi,
Focusing on Core web vitals, LCP specifically, I’ve come across an issue where if your LCP element on a page is a YouTube video and you have this plugin’s YouTube placeholders enabled, the plugin will set up a placeholder image instead of loading the YT emebed immediately, BUT it will set this image as lazy-loaded – this contributes to a lower LCP score.
You can use the attribute data-no-lazy=”1″ on the YT video iframe-e but that will also disable the YouTube placeholder functionality.
I have no proof of this but it could possibly improve the LCP score, if we could only disable the lazy-loading of the YT placeholder image without completely disabling the YT placeholder functionality, maybe with a new data attribute like data-no-lazy-yt-placeholder=”1″
If I missed something and this is already possible, please suggest how ??
Thank you for the help, the plugin and the effort ??
- The topic ‘Option to disable lazy-load on YouTube placeholder images’ is closed to new replies.