flash in valid (X)HTML Web pages
Have you ever tried the markup validation service (W3) and received an error with your flash embedded codes? Some general errors are:
there is no attribute “src”
there is no attribute “quality”
there is no attribute “pluginspage”
there is no attribute “type”
there is no attribute “width”
there is no attribute “height”
element “embed” undefined
Well, the solution to all these is to just change your flash embed code so that it removes the embed-tag. <embed> as such is not a part of XHTML, and hence W3 Validator returns an error. While searching for the answer, I found some solutions such as the satay method, or the javascript method, but the simplest one to me was what I found at http://yoast.com/code/valid-flash-embedding.html
Just replace your embed code with this:
<object type="application/x-shockwave-flash" data="music/sound.swf" width="0" height="0"> <param name="movie" value="music/sound.swf" /> <param name="quality" value="high"/> </object> and it's done. Worked for me, so must work for you as well!