Embed flash in html

Johan picture Johan · Aug 26, 2009 · Viewed 30.9k times · Source

In chrome, ie and safari this is not a problem, but in firefox it is.

I use <object> for my flashclip.

<object type="application/x-shockwave-flash"> 
    <param name="movie" value="myclip.swf" /> 
    <param name="quality" value="high" /> 
</object>

What am I doing wrong?

Answer

Johan picture Johan · Aug 26, 2009

After some testing, this works fine:

<object type="application/x-shockwave-flash" data="myclip.swf" 
    width="550" height="400"> 

    <param name="movie" value="myclip.swf" />
    <param name="quality" value="high" />
</object>

Firefox needed both data, width and height.