The Grav Youtube Plugin has a
lazy-load function. It should increase performance of website.
After enabling lazy-load function the
pageSpeed Insights test still warns me about:
Remove unused CSS
Is it normal behavior or
lazy-load is not functioning properly in my case?
Placed it as shortcode in
Custom HTML particle in Gantry 5 framework,
Process shortcodes is turned on.
Could someone confirm?
Did you set the option in the Admin dashboard, or manually? Because the option in the config file is
lazy_load with an underscore.
I’ve set it in Admin dashboard.
The config file now looks:
After some more tests I discovered that plugin partly works in Gantry Custom HTML particle with Short Code procession turned on. While it fully works in pages.
If there is no a hidden options it could be a bug in Gantry
P.S. I’ve reported this on Git, but it probably will take forever to investigate