While YouTube is a great platform to upload and share videos, often small businesses try to avoid it because of the related videos that it shows. Sometimes these related videos may promote a competitor or endorse something that you do not agree with. Recently, one of our users asked us how to remove related videos from the end of an embedded Youtube Videos. In this article, we will show you how to turn off related Youtube videos in WordPress.
Note: We advise our users to never directly upload videos to WordPress, instead they should use video sharing sites like YouTube and Vimeo to save bandwidth and ensure a better user experience.
Manually Turn Off Related YouTube Videos
YouTube allows you to manually trun off related videos when embedding a video in WordPress. Simply add ?rel=0
at the end of your video URL like this:
http://www.youtube.com/watch?v=qzOOy1tWBCg?rel=0
WordPress uses oEmbed to get the embed code from YouTube. Since we have appended the URL with ?rel=0
, it fetches an embed code with suggested videos or recommended videos turned off.
Automatically Turn Off Related YouTube Videos in WordPress
If you embed a lot of YouTube videos on your website, then you may want to simplify the process by using the automatic solution that disables related Youtube videos on the entire-site. All you need to do is install and activate Hide YouTube Related Videos plugin.
There are no settings for you to configure for this plugin because it works out of the box. Just add your YouTube URL in a post like you would normally do, and the plugin will make sure that the oEmbed code obtained by WordPress has related videos turned off. It also clears your oEmbed cache and all YouTube videos you added earlier will also stop showing related videos.
We hope this article helped you turn off related videos when embedding YouTube videos on your site. For feedback and questions please leave a comment below or join WPBeginner on Google+.