Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16
  1. #11
    Join Date
    Jul 2011
    Location
    Oregon
    Posts
    16
    Plugin Contributions
    0

    Default Re: YouTube in Product Descriptions

    This was intriguing ... and confusing, at the same time.
    I have several items where I'm using YouTube videos in the product description and never thought it was an issue until reading these posts.

    What I use is like this:
    Code:
    <iframe height="300" frameborder="0" width="480" title="YouTube video player" src="http://www.youtube.com/embed/ucL6DSl3f80?rel=0">&amp;amp;amp;amp;nbsp;</iframe>
    Mine works, but yours must do something I'm missing or you wouldn't have gone to the trouble to write the code.

    So, can you tell me what I'm missing?

  2. #12
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: YouTube in Product Descriptions

    @oregongardener
    not at all. if it works it works. All mine does really is
    -- puts a thumbnail rather than the whole video
    -- plays the video in a lightbox type pop-up when the thumbnail is clicked
    -- lets my client add videos in an easier way without having to think about the code
    that's all.

  3. #13
    Join Date
    Jul 2011
    Location
    Oregon
    Posts
    16
    Plugin Contributions
    0

    Default Re: YouTube in Product Descriptions

    Ah, okay - sounds good. I was wondering as there are times when Zen Cart balks at the iframe code and refuses to display the 'update' buttons on the second screen (or ANY buttons).
    Backing up and trying again will get it working, but I figured that might have been the impetus for your efforts.
    Appreciate the response!

  4. #14
    Join Date
    Sep 2008
    Location
    Cleethorpes
    Posts
    1,227
    Plugin Contributions
    6

    red flag Re: YouTube in Product Descriptions

    Thanks for this Nick
    Nick Smith - Venture Design and Print
    https://venturedesignandprint.co.uk

  5. #15
    Join Date
    Nov 2005
    Posts
    44
    Plugin Contributions
    0

    Default Re: YouTube in Product Descriptions

    I just get the same results as mentioned by Nick1973

    Click on the thumbnail created by zentube and you will see it takes you to the homepage and puts a # in the URL.

    You can see at http://www.rainbowtrampolines.nl/sho...ube-p-589.html

    I didn't read a (clear) solution for this.

  6. #16
    Join Date
    Apr 2009
    Posts
    2,134
    Plugin Contributions
    3

    Default Re: YouTube in Product Descriptions

    Well, again, my instructions in there are probably not the best.

    You are loading the other scripts before jQuery.

    You need to move the jQuery loading line in html_header.php up so that it loads first.

    put it here

    Code:
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
    
    <?php
    /**
     * load all template-specific stylesheets, named like "style*.css", alphabetically
     */
    just before the stylesheets and javascript get loaded.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Embedding YouTube videos on Product pages
    By ailtait in forum General Questions
    Replies: 24
    Last Post: 23 Nov 2022, 10:56 AM
  2. Product videos from youtube [Support Thread]
    By info1 in forum All Other Contributions/Addons
    Replies: 58
    Last Post: 31 May 2018, 01:54 AM
  3. v150 Include YouTube video in product page banners
    By rashidn49 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 20 Aug 2015, 09:23 PM
  4. embed YouTube video in product description
    By ecichlid in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 1 Dec 2008, 01:50 AM

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