Issue Type: Bug Created: 2008-09-19T07:09:14.000+0000 Last Updated: 2009-03-24T06:59:17.000+0000 Status: Resolved Fix version(s): Reporter: Bill Graham (bgraham) Assignee: Jurrien Stutterheim (norm2782) Tags: - Zend_View
Related issues: Attachments:
This line htmlFlash('/path/to/flash.swf'); ?> in a view script results in the SWF playing in IE and Safari but not in Firefox version 3.0.1. An element is required in Firefox to play the SWF. The problem is, this is invalid XHTML. This is based on correspondence with Jurriën Stutterheim.
Posted by Loic Bistuer (loic.bistuer) on 2008-09-26T09:24:11.000+0000
I recommend dropping the classid and codebase attributes, they are not needed and they are causing the issue.
Using the codebase attribute to point to macromedia.com is wrong anyway (even though common) since it should only reference a path within the same domain.
IE 5.0 and up will do just fine without classid.
Posted by Jurrien Stutterheim (norm2782) on 2008-09-26T11:40:52.000+0000
Resolved in revision 11525
Posted by Alessandro Biasi (ato) on 2008-10-09T13:31:06.000+0000
I tried revision 11800 and the problem persist. Maybe my configuration problem, but i don't think so.
Posted by Loic Bistuer (loic.bistuer) on 2008-10-09T20:29:49.000+0000
Alessandro, could you please attach your resulting HTML?
My guess is that you didn't specify a width and a height.
Posted by Alessandro Biasi (ato) on 2008-10-10T13:48:02.000+0000
You right, if I specify width and height it works great, but my html output without element. Is it correct?
Posted by Yanick Rochon (yanick) on 2009-03-24T06:58:58.000+0000
I suggest this should be specified in the documentation as I came here for the same problem, and I am not too familiar with embedding flash into HTML pages. The doc says it should be easy, but without the info it's much a pain to figure out why it doesn't work. Just a thought.
Have you found an issue?
See the Overview section for more details.