How to Easily Add Lazy Loading for Videos in WordPress
Videos are great for improving user engagement on your website. However, one downside of embedding videos is that it slows down your website. In this article, we will show you how to add lazy loading for videos in WordPress and improve your page speed.
How does Lazy Loading for Videos Work?
Wondering what exactly is lazy loading, and how does it work?
When you embed a video on your site, you add additional external scripts and files that needs to be loaded. Since there is more to load, your website loads slower.
Video lazy loading replaces the embedded Youtube and Vimeo videos with a clickable preview image. When your visitors click on the image, it loads and play the video.
Since images are a lot smaller in size than videos, the lazy loading technique significantly improve page speed.
Now that you know the advantages, let’s take a look at how to lazy load YouTube and Vimeo videos in WordPress.
Video Tutorial