The first step to embedding a YouTube live stream is to make sure that:
- Your channel has monetization enabled (and linked to an Adsense account). To check if your channel is eligible for monetization, you can go here and see if you meet the 1000 subscribers and 4000 watch hours requirement: https://studio.youtube.com/channel/YOUR_CHANNEL_ID/monetization Certain older YouTube channels do not require this requirement however.
- Live streaming itself is enabled.
- Embedding live streams is enabled.
These three can be verified by logging into your YouTube channel and going to this page: youtube.com/features
It should look something like this:
Our YouTube plugin supports a couple of options for embedding livestreams in WordPress. At the very basic, you can take an active or pending YouTube livestream link and embed it just like it’s a standard YouTube video link. You can also enter it into our wizard and customize it like a standard YouTube video.
The plugin, however, offers even smarter options. Firstly, with the livestream wizard option, you can embed a channel url and the plugin will automatically retrieve the “countdown player” of the next scheduled livestream. That player will be shown when users visit your page and let them know when the stream actually goes live. Once that livestream is over, the plugin will automatically look to see if there’s another scheduled livestream in the channel and begin displaying the “countdown player” of that next one. You don’t have to do anything!
If you embed a pending livestream using the direct link to its youtube.com page, the plugin also gives you the power to define your own custom “not live” content to display instead of the default “countdown player”. For this, you must embed the link to the livestream (with or without the wizard). To actually customize the “not live” content and override the "countdown player", go to the YouTube plugin's settings page as you’ll see in the latter half of the video below. Note that the "not live" content can be pretty much anything -- plain text, image(s), video(s), etc. You get a familiar WordPress editor box to define whatever you want.
Now you can Add more interaction to your YouTube live stream embed by also embedding the YouTube live chat box with the player.