How To Prevent Unrelated Youtube Videos From Displaying

Did you know that when you embed a YouTube video on your website it shows unrelated videos when the video ends? In this video I show how to stop unrelated videos at the end of YouTube embed so only your own related videos appear. YouTube recently removed the ability to check the box to disable videos on YouTube embed. This results in YouTube recommending videos unrelated to the video content they just watched and will turn them off. This video will fix that.


When you enter the embed code you need to edit the url in the code to add ?rel=0 at the end of the url

So for example instead of this embed code:

You need to use this embed code with the ?rel=0 added

Here below you can see the difference in the code:

<iframe src=”https://www.youtube.com/embed/bEDd6c3AFMU” width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>

You need to use this embed code with the ?rel=0 added

<iframe src=”https://www.youtube.com/embed/bEDd6c3AFMU?rel=0″ width=”560″ height=”315″ frameborder=”0″ allowfullscreen=”allowfullscreen”></iframe>