Jump to content

[Solved] How to add a flash movie?


Recommended Posts

Yes, I'm trying to add a flash movie (swf) in the header.tpl file with the <object> (and <embed>) tags but the browser doesn't shows the movie. I'm doing well or there's something wrong?.
Thanks a lot.

Instead of the

labels I put a new

;


         <object width="980" height="250">


         <embed src="{$base_dir}flash/banner_dm.swf" width="980" height="250" bgcolor="#FF6699">
         </embed>
         </object>

Link to comment
Share on other sites

Solved!.
I just had to add the object tags without the javascript file link in anywhere.
This is my final result:

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="980" height="250">


 <embed src="{$img_dir}banner_dm.swf" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="980" height="250"></embed>
</object>

Link to comment
Share on other sites

  • 1 year later...

I am trying to do the same thing and here's my code...

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="1000" height="235">




    <embed src="test.swf"
     quality="high"
     type="application/x-shockwave-flash"
     WMODE="transparent"
     width="1000"
     height="235"
     pluginspage="http://www.macromedia.com/go/getflashplayer"
     allowScriptAccess="always" />
</object>



Where exactly should I insert this code in the themes/prestashop/header.tpl?I want to replace the banner img with the swf file .

Link to comment
Share on other sites

×
×
  • Create New...