How to remove related videos from the end of an embedded YouTube video

As I’m sure you’ve seen, YouTube displays related videos at the end of videos you have viewed. This can be useful, but this can also be problematic. For example, we were recently working on a very personal project for a client. This client had a great video to use for their cause, but because the project was so personal to them, they felt uncomfortable that all these random, unconnected videos were being offered to viewers at the end of the video.

I remembered that I had seen that you can remove related videos from the end of a YouTube video. It turns out, it’s really quite easy to do!

Let’s say I want to embed this adorable kitten video in my site to share it with my readers:

You see all those supposedly related cute kitten videos at the end? How can YouTube dare to even compare this video with others? In order to make sure you are completely focused on this cute kitten, I will remove the related videos from the end. Note: you can only do this on embedded videos, and not on YouTube itself.

  1. Go to the video’s individual page on YouTube. In this case, the individual page is at http://www.youtube.com/watch?v=z8GHf-aELjY.
  2. On the bottom of the video, click Share.
    image
  3. Once you click Share, a new area slides open underneath the video with a shortlink for sharing the video. It also presents an Embed button. Click that.
    image
  4. When you click Embed, another area opens up underneath that offers you the embed code, and also a number of options to allow you to customize the video’s appearance on your site. The first option is a checkbox that says “Show suggested videos when the video finishes.” Make sure that box is unchecked. If you look at the embed code, you’ll see that it adds a parameter after the video’s URL:
    ?rel=0

    . “Rel” means related videos, and 0 is a binary command, meaning No.
    image

  5. Copy the embed code and paste wherever you want the video to appear! See below:

While I was searching for this solution, I came across a list of parameters that you can add to YouTube embed code to customize the player: YouTube Embedded Players and Player Parameters. For example, let’s say I think that the above video speaks for itself, and doesn’t need the title to appear on the player. To remove the title, I would add another parameter to the video’s URL in the embed code. So the URL would change from

http://www.youtube.com/embed/z8GHf-aELjY?rel=0

to

http://www.youtube.com/embed/z8GHf-aELjY?rel=0&showinfo=0

(note the use of the & to add another parameter). Here’s the final embed code:

<iframe width="560" height="315" src=http://www.youtube.com/embed/z8GHf-aELjY?rel=0&showinfo=0
frameborder="0" allowfullscreen></iframe>

And here’s how the video looks without the related videos or title:

Other things you can customize in your player with these parameters are if it autoplays, loops, starts or ends at a particular point in the video, and more!

Responses (66)

Ariel

September 27, 2012 7:21 pm

Useful stuff – but what do we do with the non embeded videos?

Miriam Schwab

September 29, 2012 10:18 pm

Ariel, if by non-embedded videos you mean YouTube videos that are on the YouTube site – you can’t control how those videos appear on YouTube.

Anne Kleimberg

October 31, 2012 10:18 pm

Miriam- you rock! I made a lovely slide show for my b&b site (www.casacaesarea.com) but the damn images YouTube was embedding were tacky and awful. Not until I found this article from you did I find out how to get rid of them. Thank you!!!

    Miriam Schwab

    October 31, 2012 10:33 pm

    Anne, I’m really glad that this tutorial helped you!

aakash

December 3, 2012 10:37 pm

This is what I have been looking for from last one hour. Didn’t know that this may be too simple. Thanks for sharing this.

Sara OC

December 7, 2012 12:49 pm

Thanks so much for posting this up. Very clear and extremely useful. I needed to stop the referral videos on a site for young readers, and now I can!

Web Design in Manchester

December 10, 2012 1:58 pm

Hi, Thanks for this. I tried a couple of other suggestions which were obviously out of date. This one sorted out my problem and is so simple when you know how. (Dec 2012)

Gary W

December 11, 2012 11:52 pm

That used to work, but just did that for a video and regardless of whether I check the box or not, I still get related videos at the end. Anyone see that?

Gary W

December 11, 2012 11:56 pm

Seems like when I added the “&showinfo=0″ then it stopped displaying the related videos.

Nathan K Smith

December 19, 2012 10:21 pm

Hi Miriam,

great tip. Removing the title worked. Do you have suggestions on removing the video player at the bottom?

All I want viewers to see is a play button in the middle of the video.

    Miriam Schwab

    December 19, 2012 10:28 pm

    What do you mean by removing the video player at the bottom? Do you mean you want to remove the controls from the bottom, where the play bar and volume are?

Nathan K Smith

December 19, 2012 10:46 pm

Yes remove the controls that appear at the bottom.

Also, I noticed when I removed the title my video now has black space above and below the video. Anyway to remove that?

    Miriam Schwab

    December 21, 2012 1:57 pm

    To remove the controls, and have the video autoplay, try adding the following parameters: modestbranding=1;autohide=1&showinfo=0&controls=0;

    Re the black space – sorry, I don’t know what’s causing that. Might have to do with a misplaced bracket or quotation mark.

hollysnails

January 26, 2013 4:36 am

thanks I needed this!

Edward

February 22, 2013 5:15 am

I have tried several videos and I don’t get that selection in order to avoid related videos. I just get

Use HTTPS [?]
Enable privacy-enhanced mode [?]

melissa

March 7, 2013 9:15 pm

I keep adding this -trying to add the following parameters

?auotplay=1&rel=0&autohide=1 -it keeps removing the rel=0 every time I save. Also if I change the size of the iframe it deletes the numbers back to the original. Why???!! Arg.

jean mellano

March 7, 2013 10:30 pm

Miriam, THANK YOU for posting this tip. It was aggravating to see these video suggestions at the end of embedded videos on our website. It implied to our customers that we were endorsing those videos which we did not, in addition to the fact, videos of our competition were also suggested.

Nada Lou

March 10, 2013 10:49 pm

Hi Thank you so much for your very clear suggestions. Before I found your posts, I tried to “trick” the YouTube by adding about 30 seconds of just black to words title. After I found your suggestions, I tried to do what you recommend – found all the part, even removed twice myYouTube clip and she I got back to it -the same imposed YouTube stuff is at the end of these 30 seconds!!! Why

Also I want to know if I leave leave the clip with this blank space at the end – would the “view” be counted or not?

Thanks for being a bright light in this frustrating tunnel of YouTube trick!
Nada

zara carkner

March 13, 2013 11:31 pm

I’ve tried this, and when I post onto my client’s Facebook page, the video still plays with the suggested videos at the end. what am I doing wrong?

Michael Dionne

April 2, 2013 6:50 am

Any webmaster or programmer has a solution to append ?rel=0 automatically at end of an embedded Youtube video? I am programming a new browser (using the IE engine) aimed specifically at kids, and keeping track of the videos they are viewing is apparently impossible since most embedded Youtube videos have this feature set to on that allow them to see other videos when the first one ends… because the URL does not change..
For the sake of making the Internet a better place for kids, thanks in advance for any help or hint!
Skype ID: nuganx

Shadi Gharaibeh

April 17, 2013 6:38 pm

Thank you for the useful and easy to follow information which I applied to the embedded video on my website and the related videos at the end are gone.

Shadi

D@yesiwanna

April 23, 2013 7:34 pm

Thank you SO very much!!

Keith

April 29, 2013 9:58 pm

I did what you said here-good stuff.
I have the box unchecked, but it still suggests the videos.
What else can I do?

mindy

May 5, 2013 1:10 am

I can follow all your steps, but I get lost at the end of step 4 and the beginning of 5. Where am I supposed to cut and paste the code to? I have unchecked the box. I follow all the steps, I just do not understand what I do with the code. Thanks for your help.

Boo

May 16, 2013 12:52 pm

Hi i have got the youtube video embedded on my website but the title of the video is appearing twice on the top. Could any one please help me out in this?

Thanks in advance

Shailesh Kulkarni

May 28, 2013 9:16 am

Hi,

Thank you very much. Your tutorial helped me alot in embeddeding video im my website.

I want to know is there any method or event where i can capture the event when video is ended. I want to call other .aspx page when video ends.

Pl help me doing this.

Regards,
Shailesh

    Miriam Schwab

    May 28, 2013 2:36 pm

    Shailesh, with YouTube videos you can’t do any event capturing or redirecting.

tal

May 31, 2013 9:27 am

thank you. easy and helpfull :)

Martin

June 29, 2013 11:24 am

Fantastic tip, thank you! My customer were stuck watching you tube rather than getting back to order a product, by not providing them with the temptation of carrying on watching you tube is going to be very beneficial :-)

Benoit Champoux

July 8, 2013 9:47 pm

Thanks a lot it help me to get rid of unwanted videos!

Emma

July 16, 2013 3:07 am

Thanks!! It worked great. Now I just have to remember to cut and paste my embedded videos onto blogger instead of uploading them from YouTube.

Jean-Michel

July 21, 2013 6:21 am

Thanks Mariam, you’re the best!! Been looking/ searching on howe to do this!! You rocK!!

Scott

July 25, 2013 3:15 pm

Hi Miriam, I found everything but one thing to be very easy in setting up the basic slide show style video that I uploaded to YouTube. When I created the video, it automatically created a feature that I don’t want. The slides pan/zoom in slowly as the video proceeds. Where on the video manager do I go to stop this panning/zooming in and out so the slides are just still? The reason is because I have text on the slides that you can’t read around the edges of the slides once it zooms in far enough. Totally defeating the purpose of having the text on the slides which is important information for anyone viewing it. Thanks.

James

August 8, 2013 6:13 pm

PLEASE help us figure out how to embed Youtube videos on Facebook without related videos showing at the end. The embed code above doesn’t work for facebook.

Patrice Lane

September 5, 2013 3:24 am

Thank You! Just the information I need.

Juliette Nolan

September 9, 2013 3:54 am

Thanks for this post. I was trying to embed on a wordpress.com site and noticed that it kept overriding the html and putting a short code in instead. To solve the problem I just manually entered the ?rel=0 after the URL and that seemed to do the trick for my video at http://juliettenolan.com.
Funny thing was it was a video about insomnia and throwing up random related videos at the end is a surefire way to lose sleep! :)
Thanks for the post – really helpful

Sandra

September 15, 2013 4:29 pm

Thanks = this works great if you are embedding from the youtube site either with the link or embed code right there under share. I have a different issue. We are using Blogger for classroom websites at a lower primary school. Blogger talks directly to the teachers’ your tube accounts and videos are able to be embedded through a Blogger post or page BUT related videos show up:(
I want to know how to easily teach my teachers to add/paste in an additional command into the html view to get RID related video – really tacky on an educational site in a school domain!

lisa

September 17, 2013 9:19 am

thank you juliette! i was having a similar problem on my wordpress blog… i was following the direction here but not seeing results with leaving that seemingly helpful little box unchecked. pasting the url and adding ?rel=0 at its end did the trick! hoorah!

Lena

September 21, 2013 9:58 am

Thanks ..This works perfectly..

Andy Kuiper

September 26, 2013 12:39 am

great tips Miriam – I added the ?rel=0 at the end and it worked perfectly :-)

    Miriam Schwab

    September 26, 2013 8:35 pm

    I’m glad it worked for you Andy!

Krishna

October 9, 2013 8:42 am

Hey can we add some of our advertisement before playing the embed video. If possible how?

peterjj

November 2, 2013 6:11 pm

Greetings!

I noticed a previous reply to another member that you posted regarding ?rel=0

I have a number of Youtube videos that I am using on one page and want them to load fast– I am using

Which works fine (it only loads the youtube when clicked).

The issue:

I don’t want to play recommended videos when the video ends. I have tried inserting ?rel=0 as well as &rel=0 etc.at various place in the code but cannot get it to work.

If you have any insights to this, I would be most grateful

FYI: website is borrowthepower.com

Thanks,
/Peterjj

Gary

November 4, 2013 11:29 pm

I am placing the video in a Google Form. The editor does not allow for embedding codes, just providing a link to the video. Do you know of any way to remove the related videos when not embedding the html?

anila

November 13, 2013 1:21 pm

Thanks Miriam ,It is worked perfectly :-)

Alison

November 18, 2013 7:29 pm

Thanks, great and simple, it does exactly what it says on the tin…

Sheila

November 27, 2013 5:28 am

I am certainly not a spammer! I am a web administrator with a local government organization. But that’s ok, I don’t mind not having my comment posted – just wanted to say thanks :)

    Miriam Schwab

    December 2, 2013 12:10 pm

    Thanks Sheila! Nothing personal, but we get our fair share of spammers. Thanks for saying thanks!

manish sil

November 29, 2013 9:56 am

thank you

Dan Carter

December 14, 2013 11:11 pm

great tip. Removing the title worked. Do you have suggestions on removing the video player at the bottom?
All I want viewers to see is a play button in the middle of the video.

Robert

December 16, 2013 11:41 am

I can follow all your steps…I needed for your point “How to remove related videos from the end of an embedded YouTube video” its very clea …So Thanks for Sharing your information….

Web Video Player

Chrissy

December 18, 2013 5:29 am

Hi Miriam,
Thanks so much for posting this!

I have tried unchecking the box AND adding the ?rel=0 but neither will work!
Arrrrgh, tearing my hear out here (well not really, that would be painful).

If you have ANY idea how to remove this from my vid, please let me know.
Thanks!
Chrissy :)

Gary

December 21, 2013 2:32 am

Thank you for posting this, your a life saver!

Sandeep

January 6, 2014 7:48 pm

Thanx for the info. Really appreciate.

Jeff Grant

January 14, 2014 5:41 pm

Great tips, i wonder if possible to remove advertising banners too..

Jethro Higgins

January 28, 2014 6:25 pm

I just looked for this option and it appears to be missing now. Does any body have the actual embed code where this option was checked? Maybe we can still code it even though the check box is gone?

Randy

January 31, 2014 8:46 am

hello…i am NOT a spammer. i am just someone trying to get the related videos to NOT dispay on the last video of my playlist. i have multiple playlists that i am constructing. thank you …again I say that i Am NOT a SpammEr

Kari

February 5, 2014 5:29 pm

I don’t know why your system “recognized you as a spammer”, I am just trying to figure out how to remove related videos at the end of my video. They are inappropriate for my audience. I have tried to follow your very clear instructions, but I do not see the same choices. I do not see a “Share” button. Perhaps this is because my video is unlisted. I even listed it temporarily public, but no Share button appears. How do I access the code?

Kari

February 5, 2014 6:18 pm

It worked! I needed to copy and paste the edited code on my site, that was the part I missed. Thank you so very much. I worked on this for an entire day with no success until I found your article.

    Miriam Schwab

    February 5, 2014 8:42 pm

    I’m glad it worked for you Kari! And I’m sorry our site recognized you as a spammer. We had terrible spam issues so we implemented an anti-spam system which unfortunately has a lot of false positives.

Linette

February 10, 2014 2:05 pm

Hi Miriam,

Thanks so much for the information.

Crystal DSouza

February 21, 2014 9:42 am

You have saved me from going through so much trouble. Thanks so very much. Sometimes its amazing that technology and coding seems easy enough :D

Mamie Sarr

March 3, 2014 5:18 pm

Thanks for sharing! Is there a solution to work for more than one embedded video at once?

Leave a comment