Restrict related YouTube videos

Disable related videos on your embedded YouTube content

When you embed a YouTube video it is good practice to restrict the related videos that appear at the end of playback to your channel only. Just imagine how your business would be affected if your competitor’s video would appear right on your own website.

Before September 25, 2018, you could completely disable related videos, but this is not the case anymore. The most you can achieve is to filter videos from other channels than from the one you are embedding the video from.

The default HTML embed code YouTube provides is something like this:

<iframe width="560" height="315" src="" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

What you need to change here is the src URL. Just add ?rel=0 to the end and no related videos will be shown after the end of the video.

So instead of which will result in this:

Enter for this result:

Just fast-forward to the end of the videos to see what are the recommendations are. In the case of the second video, only videos from Rick Astley’s channel should be visible.

Related Posts

Sorry, no similar posts found.

Leave a Reply

Your email address will not be published. Required fields are marked *