How can I embed a flash movie in a zend view programmatically?

Posted by curro on Stack Overflow See other posts from Stack Overflow or by curro
Published on 2010-03-15T20:57:04Z Indexed on 2010/03/15 20:59 UTC
Read the original article Hit count: 182

Filed under:
|
|

I have tried to embed a flash movie in a zend view using the htmlFlash helper.

In theory you only have to pass the movie path to the htmlFlash helper in a phtml view:

 echo $this->htmlFlash('/path/to/myMovie.swf');

And the framework will generate the html code in the html page:

  <object data="/path/to/flash.swf"
          type="application/x-shockwave-flash"
          classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
          codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">
  </object>

However, I have done so and the code doesn't appear on the source code.

Has anyone had this problem?

Thank you

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about flash