YouTube Live Streaming Auto Embed GitLab
A WordPress plugin that detects and embeds a live streaming video from YouTube into a page or post..
by Jason Raveling · gitlab.com/webunraveling/wunrav-youtube-live-embed · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://gitlab.com/webunraveling/wunrav-youtube-live-embed/-/archive/master/wunrav-youtube-live-embed-master.zipReadme
This is a WordPress plugin that uses the YouTube API to detect if a channel is live streaming and then embeds the live YouTube video on a page using a shortcode.
Usage
Place this plugin in your plugins folder, enable it and then start using the [live-youtube] shortcode wherever you want live video to appear. A slidout will appear on every page of your site once the channel is live. The slideout message can be customized from the WordPress admin.
1. First parameter: CHANNEL ID
How to find your channel ID:
- Open https://youtube.com
- At top left, below the logo, click "My Channel"
- It will open an address like https://www.youtube.com/channel/[LOTS-OF-NONSENSE]
- Copy the [LOTS-OF-NONSENSE] part of the URL and paste it in the Channel ID field of your WordPress settings.
2. Second parameter: API KEY
To create your API key:
- Create a project in the google developer console. https://console.developers.google.com
- Enable YouTube API for that project.
- Create a credential of type "Public API Access", a "Server key", with the IPs from the server you will query the API from.
- This will create an API Key for you. Copy it and paste it into the API Key field in the WordPress settings.
Todo List
- Add ability to customize the off-air message.
Read the full README on GitLab →
Releases
| Tag | Published |
|---|---|
| 1.1.4 | Sep 10, 2018 |
| 1.1.3 | Mar 2, 2018 |
| 1.1.0 | Feb 20, 2018 |
| 1.0.0 | Feb 7, 2018 |
| 0.2.0 | Sep 22, 2017 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.
GitLab does not publish per-asset download counts, so this plugin ranks on stars and activity only.