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.

Share post on facebook

Comments

  • Mike46
    Question... How can you disable the click-through link to youtube ? When playing a video from youtube on your site ? Thanks a Million for the REL=0 tip ! Gret work ! :)
    Mike
  • :) Thanks a lot for the TIP... ! :) !
    Langga.Com
  • Hi Alan Who,

    Thanks for the tip!

    Do you have any idea how to disable the link to Youtube when you click on the video? It would be a great complement to what you explained here.
  • 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
  • cheyenne willis
    thank you you saved my life
  • maw
    hey dud, how do i desable the option of related videos.
    seems to not work in some of them.
blog comments powered by Disqus