Have you ever noticed or wondered how to hide or stop showing those related videos after your YouTube video comes to an end? Well, it's simple! All you have to do is add this tiny piece of code at the end. See below for an example.
Normal YouTube Embed code:
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/Rvm_DF94WJo" width="560"></iframe>
Add the pink code after the embed URL like the example below:
<iframe allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" frameborder="0" height="315" src="https://www.youtube.com/embed/Rvm_DF94WJo?rel=0&showinfo=0"
" width="560"></iframe>
String to Add: ?rel=0&showinfo=0