Bandwidth Implications of embedding Youtube videos on my site

If I embed a Youtube video on my web page, what are the consequences of using data on my server?
I have a general web hosting plan for my site with a data transfer limit of 5 GB per month. When a user plays a video on my site, my server is taxed on data transfer, i.e. If the video is 1 GB in size, is my data transfer limit reduced by 1 GB?
And is my server processor taxed on streaming video?
What else do I need to worry about?

Is there any link you can point me to? It will be useful.

thanks

+6
source share
3 answers

Both the YouTube player and video content are transmitted from the Youtube server. The only price you pay is a few bytes needed to add the embed code of the video player to your HTML pages.

+15
source

When you embed a YouTube video, it is broadcast directly from the YouTube servers.
Your server is not involved.

+4
source

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.

0
source

Source: https://habr.com/ru/post/924974/


All Articles