We want our visitors to get our content as fast as possible, which means the content needs to be light, and with the minimum number of requests. But we want to keep users on our pages, and be entertained. This is where embedding videos enters the scene. Videos illustrate our textual content, bring life to it, and are often served by a third party. What more to ask? Well, there’s a hidden price tag
![Faster YouTube Embeds with JavaScript — SitePoint](https://cdn-ak-scissors.b.st-hatena.com/image/square/26e92c2ab218940101f2567d3b0c5ad322d10307/height=288;version=1;width=512/https%3A%2F%2Fwww.sitepoint.com%2Fwp-content%2Fthemes%2Fsitepoint%2Fassets%2Fimages%2Ficon.javascript.png)