This is the second in a series of 3 articles designed to help you embed a YouTube movie while maintaining (X)HTML standards compliance, then customizing the display of the movie and finally, providing alternate content for visitors unable to view the movie.
In this article we’ll apply all that you learned in the first article to embed a movie, this time with code that has been modified using the customization option(s) available on YouTube.
Customization Options via YouTube
If you recall from the first article in this series, when you are on the movie’s YouTube page you have two options for obtaining embedding code — to simply grab the embedding code for the default player (addressed in Part 1 of this series), or to customize the player before you grab the embedding code. Let’s grab some customized code and convert it to valid XHTML code.
To generate the customized code click on the “customize” link, located right above the default embedding code.

Then select from the options you would like to customize; YouTube offers you a choice of colors, using a border and/or enabling a selection of related movies to be displayed when your embedded movie has finished playing.


