This free tool will create a valid XHTML embed code for any YouTube video. The code YouTube shows on the embed field is not valid XHTML! However, you can simply use this simple tool to make it Valid XHTML 1.0 Transitional.
Validate your code!
Remember that you should always validate your code to ensure maximum compatibility between browsers.