How to Make Embedded Videos Load Faster? Step by Step Guide

Did you know that people watch an average of 16 hours of online video per week, which is a 52% increase in the last two years? In fact, incorporating video marketing into your website is a great way to increase traffic, higher CTR, conversion, and revenue.

But this can only be possible if your embedded videos load faster. The fact is, embedded videos can load very slowly if your site isn’t optimized accurately to handle these videos. For this reason, today, the vast majority of web pages are losing more than half of their potential customers.

Therefore, I’ve come up with this guide to show you how to make embedded videos load faster. So, without any further ado,  let’s take a look at this guide.

How to Make Embedded Videos Load Faster?

How to Make Embedded Videos Load Faster

Whenever you embed a video on your site, it automatically adds a piece of code to your page. Thus, search engines and ISPs have to load that snippet every time the code is added. Which results in slowing down your video’s loading time.

However, there are several ways to embed videos on your website, which are-

  • YouTube Embeds,
  • Custom Video Hosting, and
  • Self-hosted (Not Recommended)

So, if you are someone who prefers adding embedded videos to your website, then follow these best practices, ensuring that embedding videos load faster.

1. Run a Speed Test

Before adding any video, you should run a speed test to see the current loading time. And there is no point in adding videos on a slow site. Ensure you’re starting with a strong foundation and then build from there.

Run a Speed Test

To do this, use this tool called Google PageSpeed Insights. With this tool, you’ll get the speed score of your site along with the suggestions to make adjustments if there are any issues.

Another important thing that you should always remember is to note down the result for further comparison.

2. Pick How You Want to Embed Your Videos

As I mentioned above, there are three ways you can embed videos. Now, let’s see how they work and which ones to choose.

YouTube Embedded:

Certainly, the most popular one runs quite faster than the self-hosted one. It’s a free option that is accessible on maximum devices and allows you to customize. But, it also comes with some drawbacks like monetization and comes with excessive HTTP requests that slow down the loading speed.

In that case, you can do the following-

  • Limit the number of HTTP requests that have been made when your browser loads your site.
  • You can embed the video thumbnail instead of using the whole video. This way, it prevents the browser from loading the additional code snippets.
  • Set up your own site, including the stylesheet and Script within your application.
  • Then use the “lite-youtube” tag via HTML or JS.

Here are the Lite YouTube Embed Elements for your YouTube video embed-

<!-- Include the CSS & JS.. (This could be direct from the package or bundled) -->
<link rel="stylesheet" href="node_modules/lite-youtube-embed/src/lite-yt-embed.css" />
<script src="node_modules/lite-youtube-embed/src/lite-yt-embed.js"></script>
<!-- Use the element. You may use it before the lite-yt-embed JS is executed. -->
<lite-youtube videoid="ogfYd705cRs" playlabel="Play: Keynote (Google I/O '18)"></lite-youtube>
  • To control the iframe’s behavior and appearance, YouTube supports a variety of player parameters. In that case, you can use the following custom parameters in your YouTube embed.
<lite-youtube videoid="ogfYd705cRs" params="controls=0&start=10&end=30&modestbranding=2&rel=0&enablejsapi=1">

Custom Video Hosting:

Another popular way is, using custom video hosting like Vimeo, Wistia, etc. Though all these media embedding options aren’t free, these can provide an optimal balance between loading speed and marketing features.

However, you should keep in mind that not all video hosting providers work in the same way. You should look out for a fast video hosting provider. This can be a tricky one and for this, you should make sure to ask the following questions to the video hosting provider.

  1. Does your platform support all video formats?
  2. Are your physical servers located near my users?
  3. Do your marketing tools apply to each video individually, or all together?

3. Web Page Optimization

After selecting the right video format, you should focus on optimizing your site to ensure a smooth user experience. Your site should be optimized to support quality videos. So, here are some tips to ensure that.

  • Be sure to specify the width and height of videos in your HTML or CSS files so that the browser can load with no additional work.
  • Defer loading videos until the initial page load is complete.
  • Ensure a responsive web design to prioritize your mobile users.
  • Use a content delivery network.
  • Use data compression tools to reduce the video size without degrading the quality.
  • Convert to HTML5 supported formats so that you can deliver video content without requiring any plugin.


Having video content on your site will definitely outweigh the cost added to your page load. That doesn’t mean you’ll stop adding videos on your site.

If you can properly optimize your media files, page design, and follow the above techniques, adding videos won’t impact the performance of your site much. Just remember one thing, whenever you make any changes or add new video content, take a note of the effect on your speed and make optimization accordingly.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top