How to hide the "more videos" section in Youtube iframes, when the user stops the video?
Example:
<iframe width="750" height="420" src="https://www.youtube/embed/cZnsLVArIt8?rel=0&iv_load_policy=3" frameborder="0" allowfullscreen></iframe>
I cant find any solution here.
Option 1 – Using the YouTube Interface Deselect the first checkbox towards the bottom that says “Show suggested videos when the video finishes”. After deselecting this option you'll notice the embed code updates to allow for this new parameter. Now, simply copy the new embed code and drop it into your HTML.
YouTube changed the rel=0 parameter as of September 2018 so that it no longer fully disables related videos. However, you can work around this using the YouTube Player API to show custom HTML instead of related videos.
If you have uBlock Origin ad-blocker installed, here's the static filter to remove that:
!YouTube embed pause overlay youtube.com##.ytp-pause-overlay
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With