In addition to what Etienne Perot said, 3 nodes play here, namely:
- Your server
- Youtube Servers
- Client server (i.e. user access to your website.
When you embed youtube or some embed code on an html page, your server serves the html content for the web browser / user client (technically means a user web browser). And this html content is processed and broadcast by a client / user web browser. This means that it is served by your server as a link, but when the client translates it, it becomes an action; action to pull content from that place. Thus, the client (a custom web browser pulls the video from the specified URL embedded in the iframe. In turn, the strip used is calculated from
- Client (i.e. bandwidth used to access the Internet and video URLs)
- Youtube server (i.e. bandwidth from a server that serves streaming content).
If you use the Chrome Chrome browser, you can check this by right-clicking on the video and clicking on the check item, and then go to the network tab; you may need to click refresh so that the page tries to download all the content again: the goal of this is to see where the content is being downloaded from. See the Network Analysis Reference for how to use the network tab in the Google Chrome Developer Tools. Mozilla firefox and some named browsers also have a control and network monitoring feature.
Hope this helps someone.
source share