How do you stop YouTube from playing other videos after one video ends?

I face many times this problem,when I embed my YouTube video after finish video come related video lists come. That go out form my site or my video links or playlist.

For this i have one solution :

youtube related videos

check this red line box.when you embed YouTube video unchecked this checkbox. 

OR 

You have only embed code of video then you need some code in embed code.

add "?rel=0" after YouTube link 

E.g. 

< #iframe allow="autoplay; encrypted-media" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/5i1jB-l_UlY?rel=0" width="560">

You can check from your side also.

Comments