Below are various examples of YouTube's recommended code for embedding video in web pages, as of June 5, 2011.
This is the default code, with no options checked.
This is the result of checking "Show suggested videos when the video finishes". The embed code is the same as in Example #1, but the rel=0 parameter has been removed from the URL.
The option "Use https" is checked.
The option "Enable privacy-enhanced mode" is checked. This eliminates the iframe and generates code that embeds the player directly into the page using the <object> element, with nested <embed>.
The option "Use old embed code" is checked. This generates code that is the same as Example #4, other than the URL. In Example #4, the video source is at youtube-nocookie.com, whereas in the current example it's at youtube.com. This is the same code that's used if the video is shared on Facebook. There, the video is embedded onto a separate page and appears on Facebook via an iframe (with no title).
This is the same as Example #5, but also uses an older URL that does not include the version parameter. This results in an older player that is much less accessible for screen reader users than the current player. So check your URLs - if they don't have version=3 in the URL, that should be added (see Example #8 for even more customization)
This is also the same as Example #5, but the version parameter in the URL has been changed from 3 (the current default) to 2. The result is similar to Example #6 (I also tried version=1 and version=4 and got the same results as version=2. Perhaps version was only recently introduced and any value other than 3 is ignored?).
This is a customized player, using documented YouTube Embedded Player Parameters. Specifically, I've added cc_load_policy=1 and autohide=1. The latter is a bad idea. Although it removes clutter from the video interface, when the buttons fade from view they also become unavailable for screen reader users.u