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:
First, schedule the YouTube broadcast in Ecamm Live.
Once the broadcast has been scheduled, click the YouTube channel icon in the Upcoming list in Ecamm Live's main window, and pick Go to Watch Page.
On the YouTube watch page for the broadcast, click the share button and then click Embed.
An embed URL looks like this:
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.
Important: Change the video ID to your video, and 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>