It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In RegisterIt looks like you're new here. If you want to get involved, click one of these buttons!
I get this question a lot and it is really simple:
Every embed is the same, except for the YouTube video URL. This will be something like:
<iframe width="560" height="315" src="https://www.youtube.com/embed/UXIEYpPk" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
All you need to do is add: ?rel=0 to the end of the URL.
So the embed code looks like this:
<iframe width="560" height="315" src="https://www.youtube.com/embed/UXIEYpPk?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
scroll down when you click to embed the video. These options are hidden until you scroll.
When you scroll before getting the embed code, you can uncheck "show related videos"
Also a good idea to enable the privacy enhanced YouTube embed, which is also not enabled by default and hidden until you scroll.
Comments
To stop the related videos appearing after the embedded youtube video, the user needs to modify by adding the rel=0 after the URL source. By doing this a user can stop the related videos to come after the embedded video.
Thanks. That is exactly what I said to do above.