This free tool will create a valid XHTML embed code for any MySpace video. The code MySpace 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.
Tip: There is also a similar tool to generate valid XHTML Youtube embed code, as well as one for valid XHTML Vimeo embed code.
Validate your code!
Remember that you should always validate your code to ensure maximum compatibility between browsers.