How to embed a flash object on my website?

Madara's Ghost picture Madara's Ghost · Sep 24, 2011 · Viewed 57.5k times · Source

Well, I must say this is embarrassing to ask, but to my defense I'll say that throughout my years of web development I've never encountered a case where embedding flash was absolutely necessary.

The Question

  • Simple, how do I embed a flash object of any kind (*.swf or if there any other options, them too) to my website?

Some Points

  • I don't need the code, I already have that, I just don't really understand it.
  • I'm looking for a good explanation on how to use the <embed> or <object> elements.
  • I've been searching around but couldn't find a clear explanation, even in the specs.

I'd award any good answer with an upvote, a cookie, and an accepted answer to the best :)

Answer

magritte picture magritte · Sep 24, 2011

Definitions:

http://www.w3.org/wiki/HTML/Elements/embed

http://www.w3.org/wiki/HTML/Elements/object

Explanation on how to embed a flash object from Adobe:

http://kb2.adobe.com/cps/415/tn_4150.html

"The HTML OBJECT tag directs the browser to load Adobe Flash Player and then use it to play your SWF file."