Re: Flash Video Player instead of Product Image
I think I may have found it....
Basically what I need to do is insert the flash code into the tpl_product_info_display.php page and then concatenated the product id onto the end of the swf file. This enables you to have a unique video playing based on each product id. So my code looked like this:
Code:
<object type="application/x-shockwave-flash" data="includes/languages/english/ss/video<?php echo $products_id_current; ?>.swf" width="368px" height="280px">
<param name="movie" value="includes/languages/english/ss/video<?php echo $products_id_current; ?>.swf" />
<param name="quality" value="high"><param name="BGCOLOR" value="#000000">
<param name="menu" value="false">
</object>
So the steps would be:
1. Create a folder in the path includes/languages/english/ss/video
2. Upload all videos in .swf format which are named the same as your Product ID (eg: id95.swf) to the folder includes/languages/english/ss/video folder you created.
3. Copy the code listed above into the tpl_product_info_display.php file.
4. Save the tpl_product_info_display.php you just edited it and Upload.
The Videos should now work.
Does this make sense.
If it does, and once I have tested it I will create an addon for everyone to use.
Last edited by outeredge2; 3 May 2012 at 08:39 PM.
Forums are for helping people!! if you don't want to help people then shut up and get off the forum!