How can I neatly embed Flash in a page in a way that is cross-browser compatible?

Posted by Mark Hatton on Pro Webmasters See other posts from Pro Webmasters or by Mark Hatton
Published on 2010-07-09T15:37:57Z Indexed on 2013/08/02 16:06 UTC
Read the original article Hit count: 239

Filed under:
|

When I receive Flash objects from my designer, it comes with an example HTML page which includes both <object> tags and <embed> tags as well as a whole heap of JavaScript. If I copy and paste this code in to my webpage, it works, but the code looks a mess (and there is so much of it!). If I remove the extra code and try either just <embed> or <object> on their own, it works in some browsers, but not others.

Is there a neat, minimal method that works in all the major browsers?

© Pro Webmasters or respective owner

Related posts about html

Related posts about flash