A YouTube broadcast and YouTube live chat can be embedded into your website. Here are some quick steps to set this up. To embed the broadcast:

  1. First, schedule the YouTube broadcast. This can be done in Ecamm Live by picking New Scheduled Live... from the scheduling menu in the bottom right corner of Ecamm Live's main window. Alternatively, you can schedule the broadcast using YouTube Studio. Ensure that you have scheduled a Public or Unlisted broadcast. (Private broadcasts cannot be embedded.)

  2. Once the broadcast has been scheduled, ensure the broadcast is selected in Ecamm Live's scheduling menu. Then click the Edit menu up at the top of the screen beside the  menu.

  3. There are two options for getting an embedding link in the Edit menu. To copy just the embedding link, pick Copy Embed URL. This will copy a URL which can be used for embedding in sites that don't use HTML tags, (using an embedding plugin.)  For websites that accept HTML, pick Copy Embed HTML. This will copy the HTML code for an IFRAME, which can then be pasted into the web pages source.

An embed URL looks like this:
https://www.youtube.com/embed/3t0YQ1gN8E

Embed HTML looks like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/3t0YQ1gN8E" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>

The properties in the IFRAME tag, including width, height, and autoplay can be customized as needed.

Embedding YouTube Live Chat

The live chat stream can also be embedded. The process is similar, with an important difference. The embed URL from YouTube contains an embed_domain parameter, which must be set to match your website's URL exactly.

  1. Once the broadcast has been scheduled, ensure the broadcast is selected in Ecamm Live's scheduling menu. Then click the Edit menu up at the top of the screen beside the  menu.

  2. There are two options for getting an embedding link in the Edit menu. To copy just the embedding link, pick Copy Chat Embed URL. This will copy a URL which can be used for embedding, for example:

https://www.youtube.com/live_chat?v=zFQFquAw74o&embed_domain=YOURDOMAIN.COM

Important: Change YOURDOMAIN.COM to match the exact domain in your address bar when visiting your site. This should include any subdomain such as www.

Insert this into an IFRAME like this example, setting the width and height as needed.

<iframe width=700 height=200 src="https://www.youtube.com/live_chat?v=zFQFquAw74o&embed_domain=YOURDOMIAIN.COM"></iframe>

Did this answer your question?