- Get a YouTube API Key by following the steps here: https://developers.google.com/youtube/v3/getting-started
- Install plugin and set your API Key on the settings page. Alternatively it can be defined in wp-config.php with
define('YOUTUBE_LIVESTREAM_API_KEY', 'YOUR_YOUTUBE_API_KEY_HERE');
- Set a message to display if the live stream is not active or there is a problem getting the stream.
- Add your shortcode where you want your stream to appear. Be sure to set the channel_id to your own in the shortcode. autoplay is optional and will default to false if not specified.
[youtube_livestream channel_id="YOUR_CHANNEL_ID" autoplay="true"]
-
Notifications
You must be signed in to change notification settings - Fork 1
Wordpress plugin that uses a shortcode to display the current YouTube live stream when given a channel id.
License
nmbgeek/wordpress-youtube-live-embed
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Wordpress plugin that uses a shortcode to display the current YouTube live stream when given a channel id.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published