New Zenner
- Join Date:
- Jan 2009
- Posts:
- 5
- Plugin Contributions:
- 0
How to put a .swf Flash video on individual product pages?
Hi all,
It took me some time to figure out how to put a small flash video on individual Product Pages and Category Pages. I'm posting this to help anybody with the same problem.
I tried doing this, http://www.zen-cart.com/forum/showthread.php?t=92931 but it was too complicated, I could not get it to work properly and you end up with a flash player box on every page, not just for specific pages. Rather try this:
FTP your .swf file to your images directory (in my case includes/languages/english/CUSTOM/Video/myvideo.swf)
In your Zencart Admin section go to: Admin>Catalog>Categories/Products
Edit the category or product you wish to have your flash video playing on.
In the Description Editor click the <> icon (toggle html source). Paste the following code:
<object type="application/x-shockwave-flash" height="112" width="160"
data="includes/languages/english/CUSTOM/Video/myvideo.swf"><param value="includes/languages/english/CUSTOM/Video/myvideo.swf" name="movie" />
<param value="high" name="quality" /><param value="#000000" name="BGCOLOR" />
<param value="false" name="menu" />
</object>
Remember to change the height and width to match your .swf video size. Also make sure you are pointing at the correct file.
Note: you are not replacing your product image with this, just adding a flash video.
I converted my .avi video files to .swf with Format Factory (free from https://www.downloads.com)
Hope this helps somebody!:cool: