YouTube’s livestreaming features are a great way to engage your community in real time. Those that subscribe to your channel can generally see when you go live and view your stream directly from your channel. You can also share the link of your current livestream to anyone not on your channel, but every time you go live this link changes.
This creates a big problem if you plan on embedding a livestream or linking to it from a static page because you’ll have to update the link every time you go live. Fortunately, YouTube does provide a permanent link for a channel’s livestream but it’s not super obvious what it is. Here’s how to get that link and use it to embed a livestream on something like your personal website.
How to get your Permanent Livestream Link
In order to get the permanent link for your YouTube livestream, you first need to know your channel ID. You can find your channel ID in your YouTube advanced settings here or by using the steps below to navigate there.
It’s also important to note that your livestream must be set to public. The permanent link will not work if your try this with an unlisted or private livestream. You can change livestream settings in the YouTube Livestream Studio.
First open YouTube in a web browser and sign into your account if you’re not already.
Click your profile picture at the upper right hand corner and select
Advanced settings at the bottom of the menu at the right.
Your Channel ID is visible to the right next to the
Channel ID field. Make sure you copy your Channel ID and not your User ID.
Now that you have your channel ID you simply need to adjust the below URL to your specific channel ID. Simply replace
CHANNEL_ID below with your channel ID you got above.
For example, the livestream link for TechSwift (if we did any livestreaming) would be:
This link will automatically show whatever you’re streaming on your channel.
How to Embed a YouTube Livestream on a Website
With the channel ID you obtained above, your can also use it to embed your livestream on something like a personal website.
CHANNEL_ID in the below HTML code with your YouTube channel ID.
<iframe width="560" height="315" src="https://www.youtube.com/embed/live_stream?channel=CHANNELID" frameborder="0" allowfullscreen></iframe>
Once the channel ID has been replaced, copy and paste the HTML on your website and the embedded player should appear.