I am working on a department website that needs to be standards compliant (xhtml 1.0 transitional), but embedded flash keeps breaking the validation. We use the <embed>
tag because we need to support most major browsers.
We can't use external tools, since the site is managed through a system and the admins don't like us putting extra tools (like JavaScript libraries etc) that could interfere with their template engine.
How widely supported is the object tag? Is it safe to use only the <object>
tag and remove the <embed>
tag all together?
It's best if you use http://code.google.com/p/swfobject/ which deals with browser compatibility issues.
Google suggests using swfobject as well.