Results 1 to 10 of 11

Hybrid View

  1. #1
    Join Date
    Mar 2010
    Location
    Green Bay, WI
    Posts
    360
    Plugin Contributions
    1

    Default Flash Video Player instead of Product Image

    Dose anyone know of a way to do this. What I am wanting is to put a very small video of theproduct instead of some of the photo's.

    I do know of the 360 viewers out there that you can get however that requires taking 18+ imgeas per product.

    Thoughts???
    Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

  2. #2
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,266
    Plugin Contributions
    3

    Default Re: Flash Video Player instead of Product Image

    There are some ZC-compatible image manipulators at magictoolbox.com . These are commercial programs - there may be other free ones available.
    20 years a Zencart User

  3. #3
    Join Date
    Mar 2010
    Location
    Green Bay, WI
    Posts
    360
    Plugin Contributions
    1

    Default 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!

  4. #4
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Flash Video Player instead of Product Image

    Logic seems sound - though you may need to call in the codecs for windows media player - or whatever player you are using, in the <object> code.

    I believe firefox prefers the <embed> tag.

  5. #5
    Join Date
    Mar 2010
    Location
    Green Bay, WI
    Posts
    360
    Plugin Contributions
    1

    Default Re: Flash Video Player instead of Product Image

    Quote Originally Posted by fairestcape View Post
    Logic seems sound - though you may need to call in the codecs for windows media player - or whatever player you are using, in the <object> code.

    I believe firefox prefers the <embed> tag.
    Can you please expand on this? I am not sure what exactly you mean.
    Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

  6. #6
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Flash Video Player instead of Product Image

    Just turn off the product image and hard code a Youtuve iframe video into the product description. Using flash videos is going to rape bandwidth, loading times, and no one on Apple devices will see anything.

 

 

Similar Threads

  1. Replies: 5
    Last Post: 28 Apr 2012, 06:01 PM
  2. Flash Video Player for zen cart?
    By SandraSD in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 10 Apr 2010, 01:05 PM
  3. Using JW Player and FLV flash video in product description
    By keithk in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Aug 2009, 05:02 PM
  4. Adding Flash Player/Video to Product Info Page
    By KADesign in forum General Questions
    Replies: 1
    Last Post: 7 Apr 2009, 05:23 AM
  5. Flash Video for Product Image
    By mikeylikesyou in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Sep 2007, 07:53 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg