Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Embedded YouTube Videos - Removing Videos at End

At the end of a YouTube video you will see other videos that you can choose to watch if you choose. I am embedding a YouTube video on my site and would prefer that those videos did not show at the end of the video. Is there a way to remove those videos and have just a reply option (or something similar). According to this question you can remove the annotations from YouTube Videos that are embedded on your site and that made me wonder if the same can be achieved for end of video videos.

like image 453
L84 Avatar asked Dec 05 '25 02:12

L84


1 Answers

Yes that is possible, use this script:

<iframe width="560" height="315" src="http://www.youtube.com/embed/{link}?rel=0" frameborder="0" allowfullscreen></iframe>

The important part is the ?rel=0.

like image 138
Marc Avatar answered Dec 11 '25 09:12

Marc



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!