Code Snippet
Embedding Flash
This is different than the default code that Flash provides. That typically involves the <embed> tag and is not valid XHTML. This doesn't use that, and is fully valid.
<object type="application/x-shockwave-flash"
data="your-flash-file.swf"
width="0" height="0">
<param name="movie" value="your-flash-file.swf" />
<param name="quality" value="high"/>
</object>
will this work crossbrowser?
This seems very similar to the Flash Satay method from a while back.
I was taught that you should always use swfObject for flash replacement. Isn’t it almost always a better solution?
That’s what I typically use. Although it does require javascript, and theoretically users might have javascript disabled and Flash enabled.
In either case, it’s just a good thing to know there is a valid way to embed flash without any help.
Very true. swfOject is something worth mentioning though.
How do you add a controller.
How could I embed a rotating flash movie as a background in my page? Thanks for the help.
It don’t work in IE.
what is the code for FLV file?
Thanks…….
DigWP
A book and blog co-authored by Jeff Starr and myself about the World's most popular publishing platform.
Quotes on Design
Design, like Art, can be an elusive word to define and an awfully fun thing to have opinions about.
HTML-Ipsum
One-click copy to clipboard access to Lorem Ipsum text that comes wrapped in a variety of HTML.
Bookshelf
Hey Chris, what books do you recommend? These, young fertile mind, these.