Don’t embed full YouTube iframes—they slow your site to a crawl (up to 2-second delays per video).
Swap them for lazy-loaded thumbnails instead:
html
<figure class="kg-card kg-embed-card">
<a href="https://www.youtube.com/watch?v=VIDEO_ID" target="_blank" rel="noopener">
<img src="https://i.ytimg.com/vi/VIDEO_ID/maxresdefault.jpg"
loading="lazy"
alt="Watch the video">
</a>
</figure>
Replace VIDEO_ID with the actual ID. The image loads instantly, and clicking plays the video in a new tab.
Bonus: Add ?autoplay=1 to the link URL for seamless playback.
Pages load 60% faster, bounce rates drop—no extra code or plugins.