There are various ways to show flash(swf file) on html, for example, object or embed tags.
I want to support IE6-9, FireFox3-, Chrome, Safari, and as many other browsers as possible.
(especially IE6-9)
But I also want to use simple tag as possible.
What is the best way to write html tag to show flash(swf file)?
I’d recommend SWFObject – it creates simple and easy to maintain code:
http://code.google.com/p/swfobject/
There’s even a generator to automatically create the embed code:
http://www.bobbyvandersluis.com/swfobject/generator/index.html