How To Stop YouTube From Displaying Other People’s Related Videos At The End of Your Video

yT

Often when we embed YouTube video for a blog or client, at the end of the YouTube video we see a bunch of related videos. The viewers tend to watch other videos or move out of the website itself. How do we avoid showing other related videos at the end of out videos ?

The solution is simple, we need to add an additional parameter to the embedded YouTube URL. Add the following text, &rel=0.

So, for example, if the embed code for one of the videos is:
<!iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/3ygRTw” frameborder=”0″ allowfullscreen></iframe>

We would simply need to add additional parameter to the URL.

<!iframe width=”560″ height=”315″ src=”//www.youtube.com/embed/3ygRTw&rel=0” frameborder=”0″ allowfullscreen></iframe>

All done. No more related video suggestions popping up after our videos!

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s