Mar 07, 2009
How To Disable Related Videos On Embedded YouTube Player
3 Comments
- By Alan Who
- Posted In Ask AlanWho?
When you take the code youtube gives you to embed video on your webpage or website, at the end of the video related videos will be shown. This means it's more likely people will leave your website. To disable related videos on embedded youtube videos you just need to make two changes to the embed code:
In your embed code there will be two references to your video URL, like this:
http://www.youtube.com/v/DMxNkrwajN8
Append the following at the end of this link:
&rel=0
So working with the above example the link to our video in our object embed code would become:
http://www.youtube.com/v/DMxNkrwajN8&rel=0
When you make the above changes to the embed code and view your video, no related videos will be shown.
Easy peazy.




hey dud, how do i desable the option of related videos.
seems to not work in some of them.
Hey Alan,
Nice blog with some tasty stuff!
Love this tip and just FYI, I built a little tool that let’s you disable all the annoying YouTube stuff when you embed. It’s at:
http://screencastprofits.com/youtube
Keep ‘em grinnin’!
Lon Naylor
thank you you saved my life