firefox object height ignored when data
Posted
by John Rygielski
on Stack Overflow
See other posts from Stack Overflow
or by John Rygielski
Published on 2010-04-27T17:42:08Z
Indexed on
2010/04/27
17:43 UTC
Read the original article
Hit count: 277
I have a flash video loading in a modal window. It works in others browsers but not Firefox. Firefox opens the modal window to the correct width of the object, but with no height. I have come to learn that Firefox does not recognize <param>
and instead uses the data
attribute. However, when I remove this attribute, the modal opens with correct height. What is going on? Here is the code the modal window loads:
<object width="720" height="520" type="application/x-shockwave-flash" data="proxymovie.SWF?file=proxymovie.MP4">
<param name="movie" value="proxymovie.SWF?file=proxymovie.MP4" />
<img src="images/poster.png" width="720" height="480" alt="" title="Download the video below" />
</object>
© Stack Overflow or respective owner