WordPress – Stop Related YouTube Videos

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 turn 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.
Looking for quality WordPress Hosting? Look no further than Arvixe Web Hosting!

Tags: , , , , , , , , , , , , , , | Posted under WordPress | RSS 2.0

Author Spotlight

TJ Marsh

TJ Marsh

My name is Tj Marsh. I spend about 16 hours a day on the internet. Running my company and helping out here at Arvixe. I live in the good ole Arizona where it gets ridiculously hot. I love WordPress and a lot of other open source software along with coding.

Leave a Reply

Your email address will not be published. Required fields are marked *


7 × = 7

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>