Performance-Optimized Video Embeds with Zero JavaScript


Putting a YouTube video inside a closed details element means it won’t load until that details element is opened. We can use that.