logo

Remove Related Videos on YouTube

logo

I ran into quite the pickle about 6 months back while working on a motorcycle site that used tons of YouTube videos. One night my client called me pretty late, distressed that one of the videos on their home page was advertising for another “related” YouTube video involving naked woman and sexual acts. It was EXTREMELY important that I get these creditability destroying images off of their site ASAP.

At first I had no idea that YouTube saw these videos was related, so it took me some time find the solution as I didn’t know they were called “Related Videos”. Since then I have had to look this up a few times as I don’t need it often and keep forgetting.  Here it is, I wish all my problems were this simple!


YouTube Video With “Related” Videos
YouTube Video WITH Related Videos
1
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FrmxZpZWd6k&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/FrmxZpZWd6k&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object>

YouTube Video WITHOUT “Related” Videos

YouTube Video WITHOUT Related Videos

1
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/FrmxZpZWd6k&amp;hl=en&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/FrmxZpZWd6k&amp;hl=en&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object>

Simply add rel=0 to the end of the YouTube video link in the object embed tag.
For example: http://www.youtube.com/v/OjfpGTCHjf4&rel=0

Hope this helps someone somewhere ;)

2 Responses to “Remove Related Videos on YouTube”

  1. JoeJoomla says:

    Great Tip!

    Thank you Erica

  2. Very informative, this was just the information I was looking for. You are dead on the money.

Leave a Reply

logo
logo
Powered by Wordpress | Designed by Elegant Themes