Hi there,
I’m working with a client to improve their site speed. The biggest culprit right now is the YouTube embed code.
I implemented Lazy Load for the YouTube videos using the method documented at Lite YouTube Embeds - A Better Method for Embedding YouTube Videos on your Website - Digital Inspiration
The issue is, this code isn’t responsive, therefore it doesn’t work on mobile devices.
Any hints or ideas? This change alone saves 1mb and about 3-4 seconds loading the client’s homepage.