google-youtube icon indicating copy to clipboard operation
google-youtube copied to clipboard

[ Feature Request ] : Add loading="lazy" on the Youtube embed as default

Open LanguageXange opened this issue 2 years ago • 0 comments

Not sure if this is the right place to ask. please let me know if I should post this on a different repo

Adding loading="lazy" on iframe drastically boost the performance score in Page Speed Insights. I tested it on one of my page with multiple YT videos and saw a massive improvement. https://web.dev/iframe-lazy-loading/

Could you add loading="lazy" in the iframe ?

It would benefit people who are embedding YT videos on their websites and provide a better user experience. Content editors don't need to modify anything as well. Simply copy paste into CMS.

Currently it's like this current

LanguageXange avatar Apr 19 '23 02:04 LanguageXange