Sometimes you might want to embed a YouTube video to emphasize on your WordPress post. These videos which might come with some related videos. Chances are that you don’t want to be sending users to related videos after viewing the embedded one. You want your reader’s attention focusing on your content. Besides, what was the video put there for if not for the attention. Another reason might be because you don’t want to endorse something that you do not agree with or like. In this article, we will see how we can eliminate that problem.
Turn Off YouTube Related Video In WordPress
YouTube is a great platform to upload and share videos. Related videos is another cool feature when browsing YouTube. Nevertheless, doesn’t go down well when you embed YouTube videos in your WordPress post. There are actually few steps you could follow to eliminate this problem real quick. Here are some instructions you can follow.
How To Turn Off YouTube Related Video In WordPress Manually
When embedding a YouTube video in your WordPress post, YouTube actually allows you to turn off related videos. You just have to add some text to your video’s URL.
You can simply add ?rel=0 at the end of the URL. For instance, you have a URL like this “http://www.youtube.com/watch?v=qzOOy1tWBCg“. You could just add ?rel=0 like this “http://www.youtube.com/watch?v=qzOOy1tWBCg?rel=0“.
Since WordPress uses oEmbed to get the embed code from YouTube. And you have appended the URL with ?rel=0. That should do the trick for you. All recommended or related videos would be turned off.
How To Turn Off YouTube Related Video In WordPress Automatically
I am sure am not the only person that thinks turning it off manually is time-consuming. Moreover, simplifying the process would not be a bad idea if you, like me, embed a lot of videos on your website. Automatically turning it off is arguably an efficient and faster way of dealing with related videos. All you would need is a plugin. The “Hide YouTube Related Videos” plugin is the only thing you need to install and activate.
With this plugin, you really don’t have to do any configurations or settings either. Just like you would normally do, add a video to your post. The plugin will take care of the rest for you. The plugin will make sure that the oEmbed code obtained by WordPress has related videos turned off. It would also clear your oEmbed cache and all YouTube videos you added earlier will also stop showing related videos.
Was this post helpful? Please comment and share.
Your thoughts help improve mikiguru.