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 JavaScript :
en_US/base.js(www.youtube.com)
www-embed-player.vflset/www-embed-player.js(www.youtube.com)
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?
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