WP-Optimize
95Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
Displays the current YouTube live video from a specified channel.
WP YouTube Live is a WordPress plugin that displays the current YouTube live video from a specified channel using a shortcode. It allows for various fallback options if no live video is available, such as showing scheduled live videos or recent uploads from the channel.
The plugin includes features like auto-refresh for checking live video availability and customisation options for the video player. It is suitable for users who want to integrate live YouTube content into their WordPress site.
Best for: This plugin is best for WordPress users who want to showcase live YouTube content on their site.
What it does well
Where it falls short
WP YouTube Live provides a straightforward solution for embedding live YouTube videos, but users must be aware of its requirements and potential server load implications.
macbookandrew's own description of WP YouTube Live, lightly tidied.
Displays the current YouTube live video from a specified channel via the shortcode [youtube_live].
Your YouTube livestream must be set to “Public” or it will not work. This is a security feature of YouTube’s API and unfortunately there’s no way to work around it.
In addition, your live stream must be set to allow embedding on third-party sites. If that feature is unavailable, you may need to enable monetization for your account. See YouTube documentation for more information or help with allowing embedding.
If no live video is available, you can display a specified video or a “channel player” showing all your recent videos.
You can also enable auto-refresh to automatically check for a live video every 30 seconds (warning: will increase server load, so use with caution).
By default, the server will check YouTube’s API and then cache that response for 15 minutes before checking the API again (you may change this value in the admin settings). If auto-refresh is enabled, clients will check against your server every 30 seconds and likely will hit that cache as well, so it can potentially take up to 16 minutes before a client will get a live video.
The length of both caches can be changed using the wp_youtube_live_transient_timeout filter (see below for more information).
If no live video is available when a page is loaded, several fallback options are available:
When a video ends, users’ browsers will check your server again to see if a live video is available. If so, it will load that; if not, it will fall back as set in your options.
width: player width in pixels; defaults to what you set on the settings pageheight: player height in pixels; defaults to what you set on the settings pageautoplay: whether or not to start playing immediately on load; defaults to falseauto_refresh: (either true or false) overrides the auto-refresh setting on the settings pagefallback_behavior: choose from the following: upcoming, completed, channel, playlist, video, message, no_message
upcoming: the next upcoming scheduled video on the specified channelplaylist: a specified playlist (shortcode must also include the fallback_playlist attribute)video: a specified video (shortcode must also include the fallback_video attribute)message: a specified messageno_message: nothing at allExample shortcode: [youtube_live width="720" height="360" autoplay="true"]
Other plugins for making sites fast.
Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...
All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...
Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...
Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...
Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...
Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...