I’m wondering how this is different from the “Embed Video” function that currently exists on YouTube, other than having to do some of this manually: I uncheck the first option (“Show suggested videos when the video finishes”) and check the last (“Enable privacy-enhanced mode”). I’ve noticed that the latter also speeds up page loading, at least from where I work. The resulting code looks like this:
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/tTq8cOi1FCs?rel=0" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe>
(And here’s the video in question, since it’s the guy’s birthday today)