Please remove the watch on Youtube button. It is a bad idea to let people leave your website. Most people wont return once they are distracted away from a website. The longer a customer stays on the website the higer the chance of a sale will occur. Many applications already support this feauture.
We have used this code on individual videos and it works great!
Hello folks,
Thanks for submitting this idea!
We do understand your point and we're really sorry that an option to remove the button hasn't been released yet.
Robert, thank you very much for sharing this info and for providing a workaround - we do believe it could work for the time being.
If there's anything else I could help you with or if you have other questions, please don't hesitate to ask.
Thanks a lot!
Since February of 2020 when the above comment was posted, YouTube/Google have implemented an additional button/link to embedded YouTube videos. This new button is labelled Watch on YouTube and it explicitly invites users to navigate away from the site with the embedded video to watch it on YouTube.com instead.
So, in addition to the sandbox solution offered here, a way to completely remove the new Watch on YouTube button is to limit the size of the embedded video. Videos with a maximum width of 514px or smaller DO NOT show the Watch on YouTube button.
While the sandbox attribute will disable this link, it does not remove it. The new Watch on YouTube button is so large it can be a distraction and potentially block relevant imagery. Thus, completely removing it can be beneficial.
Use this link for complete details and example code on how to remove the Watch on YouTube button.
<iframe src="https://www.youtube.com/embed/PbrX_uadZPA?rel=0&autoplay=1" width="640" height="390" sandbox="allow-forms allow-scripts allow-pointer-lock allow-same-origin allow-top-navigation">
</iframe></p>