Thread: Youtube

Page 1 of 3 123 LastLast
Results 1 to 10 of 30
  1. #1
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Youtube

    can i add demo video to my product ?

    or like this - watch video demo click here


    Thanks.

  2. #2
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Youtube

    who can help me ?

  3. #3
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Youtube

    Just put the link in your product description directly.
    Code:
    <a href="http://link_to_video_clip">click here</a>
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Oct 2008
    Posts
    591
    Plugin Contributions
    0

    Default Re: Youtube

    Quote Originally Posted by DrByte View Post
    Just put the link in your product description directly.
    Code:
    <a href="http://link_to_video_clip">click here</a>
    every product i need put this code ?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Youtube

    Well, since I suspect every product will point to a different video, yes.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2007
    Location
    Medford, OR
    Posts
    4
    Plugin Contributions
    0

    Default Re: Youtube

    Is that the only way to get You Tube Videos in to my cart. Is there a way to have it stream without having a link off my cart? I think that this would be valuable for a lot of cart owners.

  7. #7
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Youtube

    I use this simple trick: I name video clips the same as the catalog number. When the page is created, a little code checks to see if there is a video file of same name as the catalog number. If so, it embeds the streaming player. If not, you don't see the player.

    For quick demo of streaming video in detail page click here and then scroll down a bit:

    http://www.laserdiscvault.com/index....roducts_id=585

    I don't have many videos yet so you won't see the player if no video exists. Player is nice simple zc streaming plugin trigered by catalog number.

  8. #8
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Youtube

    Quote Originally Posted by kiddo View Post
    I use this simple trick: I name video clips the same as the catalog number. When the page is created, a little code checks to see if there is a video file of same name as the catalog number. If so, it embeds the streaming player. If not, you don't see the player.

    For quick demo of streaming video in detail page click here and then scroll down a bit:

    http://www.laserdiscvault.com/index....roducts_id=585

    I don't have many videos yet so you won't see the player if no video exists. Player is nice simple zc streaming plugin trigered by catalog number.
    Can you post details of script to achieve this please?

  9. #9
    Join Date
    Jul 2006
    Location
    SF Bay Area
    Posts
    867
    Plugin Contributions
    1

    Default Re: Youtube

    Sure.

    At some nice point in your tpl_product_info_display.php:

    <?php
    $movie = $products_model;
    $movie_file = "/home/laserdis/public_html/media/" . $movie . ".flv";
    if(file_exists($movie_file))
    {?>
    <table align="center"><tr><td>
    <script type="text/javascript">
    AC_FL_RunContent(
    'class','kimplayer',
    'width','500',
    'height','375',
    'allowFullScreen','true',
    'data','/FLVplayer/player_flv_maxi.swf',
    'type','application/x-shockwave-flash',
    'movie','/FLVplayer/player_flv_maxi',
    'flashvars','flv=/media/<?php echo $movie; ?>.flv&configxml=/FLVplayer/config.xml' ); //end AC code
    </script>
    </td></tr></table>
    <?php } ?>

    Notes:
    Make sure $movie_file points to your proper path. I show mine just for example.

    Notes:
    The AC_FL_RunContent script can be downloaded from Adobe.com This scipt handles all the browser-specific stuff for embeding the video. You can load this script the traditional Zen way, or put it in your html_header.php file.

    Notes:
    When I say Catalog Number, I really mean the Zen prroducts_model field.

    Notes:
    The actual FLV player module is NOT the popular JW-FLV player. I tried this and found many problems/conflicts with it if some other popular mods (LightBox for one) I will post a link to the base FLV code in just a few min. (I have to look it up).

    Notes:
    The Video SideBox on my site is also based on the same code but includes a playlist not in the bigger version.

    Notes:
    I use a good plugin for Firefox (what else?) to collect video from you tube and other sources.

    Notes:
    I loose some hair making this all work with Zen Cart but is nice solution if your site needs video. If there is any interest, I maybe package this up as a nice module for everyone.

  10. #10
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Youtube

    I lost some hair making this all work with Zen Cart but is nice solution if your site needs video. If there is any interest, I maybe package this up as a nice module for everyone.
    Excellent fast response..thanks Kiddo.. and yes, think it
    would make an excellent mod addition...shame to waste
    all that hair you lost creating it...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v154 YouTube Gallery
    By swguy in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 15 Jul 2020, 09:38 PM
  2. v151 Facebook, Twitter, Youtube
    By missnura_com in forum General Questions
    Replies: 1
    Last Post: 14 Jan 2013, 06:56 AM
  3. v150 Embedding Youtube Video
    By esugrue in forum General Questions
    Replies: 2
    Last Post: 9 Sep 2012, 09:04 AM
  4. YouTube in Product Descriptions
    By niccol in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 14 Jan 2012, 03:21 PM
  5. Adding Youtube to EZ pages
    By bakaguyjean in forum Basic Configuration
    Replies: 1
    Last Post: 4 Mar 2008, 07:11 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR