You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this a lot, it's very helpful if you have a YouTube embed at the bottom of the page so it doesn't automatically begin downloading a lot of CSS/JS from youtube.com on page load improving performance and saving resources.
I'd really like to see this option also be added to the Vimeo shortcode too! Especially as Vimeo loads a LOT of JavaScript for its embeds. https://gohugo.io/shortcodes/vimeo/
The text was updated successfully, but these errors were encountered:
The YouTube shortcode template has a very useful option for adding
loading="lazy"
(https://gohugo.io/shortcodes/youtube/#loading) to the iframe.I use this a lot, it's very helpful if you have a YouTube embed at the bottom of the page so it doesn't automatically begin downloading a lot of CSS/JS from youtube.com on page load improving performance and saving resources.
I'd really like to see this option also be added to the Vimeo shortcode too! Especially as Vimeo loads a LOT of JavaScript for its embeds.
https://gohugo.io/shortcodes/vimeo/
The text was updated successfully, but these errors were encountered: