How to embed a YouTube Live stream into your website

The features Live streaming and Embed live streams need to be enabled in . Please follow the instructions there.

To embed into your website, a linked AdSense account seems to be required.

Also refer to:

Live streaming guide
Introduction to live streaming


Set the stream to unlisted or public
Go to the “Watch page” (View on watch page link (lower right) in
Click Share -> Embed to get the embed HTML code

Now the problem is: every time the stream stops and restarts, the ID changes.

To get a permanent URL, you need to change the link to use the Channel ID (12345 in this example):

Get the Channel ID from Not the User ID!

Add this into your website HTML, and open the website in anonymous browser window to check if the stream displays without error message.

Subscribe For Latest Updates

Sign up for best of digital marketing, livestream and technology opinions on what matters to you.

Invalid email address
We promise not to spam you. You can unsubscribe at any time.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: