Results 1 to 9 of 9
  1. #1
    Join Date
    May 2008
    Location
    UK
    Posts
    347
    Plugin Contributions
    0

    Default Youtube code help

    I need some advice please?

    My zencart is version 1.5.8a and i am running the bootstrap template.

    The site is working fine and i wanted to embed youtube clips that i have uploaded.

    How can this be done? I have tried going to Admin > Catalogue > Product and clicked on inserting media. When i enter the youtube url i get a message saying that the media URL is not supported.

    Can anyone tell me if i am doing something wrong here? What do i need to do to embed the youtube URL on my product pages etc?

    Thank you




    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]

  2. #2
    Join Date
    Sep 2013
    Location
    axispara
    Posts
    4
    Plugin Contributions
    0

    Default Re: Youtube code help

    Hi, I have also run into the same problem, been a Zen cart user for many years. Now i cant link or embed video.
    I am using Zen cart 2.01 with sheffield blue. any help appreciated

  3. #3
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: Youtube code help

    Quote Originally Posted by axispara View Post
    Hi, I have also run into the same problem, been a Zen cart user for many years. Now i cant link or embed video.
    I am using Zen cart 2.01 with sheffield blue. any help appreciated
    Where are you trying to embed the video?
    Post a sample of the embed code you are using (hide anything personal) and I'll try to duplicate.
    Simon

  4. #4
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: Youtube code help

    Quote Originally Posted by amebb View Post
    I need some advice please?

    My zencart is version 1.5.8a and i am running the bootstrap template.

    The site is working fine and i wanted to embed youtube clips that i have uploaded.

    How can this be done? I have tried going to Admin > Catalogue > Product and clicked on inserting media. When i enter the youtube url i get a message saying that the media URL is not supported.

    Can anyone tell me if i am doing something wrong here? What do i need to do to embed the youtube URL on my product pages etc?

    Thank you




    [Note: remember to include site URL, ZC version, list of plugins, PHP version, etc ... read the Posting Tips shown above for information to include in your post here.
    And, remove this comment before actually posting!]
    I'm not sure where: 'Admin > Catalogue > Product and clicked on inserting media' is located - is it a Bootstrap template thing?
    Simon

  5. #5
    Join Date
    Aug 2007
    Location
    Gijón, Asturias, Spain
    Posts
    2,770
    Plugin Contributions
    30

    Default Re: Youtube code help

    Steve
    github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

  6. #6
    Join Date
    May 2008
    Location
    UK
    Posts
    347
    Plugin Contributions
    0

    Default Re: Youtube code help

    Quote Originally Posted by simon1066 View Post
    I'm not sure where: 'Admin > Catalogue > Product and clicked on inserting media' is located - is it a Bootstrap template thing?
    Hi Simon.
    Sorry i may have explained myself in a wrong way.

    So, when i goto list a product in my catagories etc. i enter details about my product, price, description etc. When i get to entering text for the product information, in the box there is a small icon to add media URL to my description.

    That is where i add the Youtube url which then i get an error.

    Thanks

  7. #7
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: Youtube code help

    Sorry, I'm not familiar with that option of adding a media url. I can't see it in the latest version of Zen Cart, perhaps it's linked to media manager or something. Others may know more.

    The way I embed videos on to a product page is just to add the embed code to the Products Description field. The code would look 'something' like this:

    Code:
    <iframe class="youtube-video" title="NCBI embedded YouTube video player example" src="https://www.youtube.com/embed/xxxxxxx?list=xxxxxxxxxxxxxx&mute=1?html5=1&enablejsapi=1" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
    Simon

  8. #8
    Join Date
    Jun 2008
    Location
    Japan
    Posts
    218
    Plugin Contributions
    7

    Default Re: Youtube code help

    You mean the icon in product description editor window. I tried it on V2.1.0 and no problem to add a YouTube video.
    On ZC v1.5.8a, there is an iframe icon but when using it I got a message 'Firefox can't open this page'. The HTML code made by CKeditor is probably wrong.
    Try this:
    Click on source icon and insert this code where you want your video. Adjust the link for your YouTube video in the src part and size too:
    Code:
    <iframe src="https://www.youtube.com/embed/YouTubVideoCode" width="560" height="314" allowfullscreen="allowfullscreen"></iframe
    >

  9. #9
    Join Date
    Feb 2009
    Location
    UK
    Posts
    1,300
    Plugin Contributions
    1

    Default Re: Youtube code help

    Quote Originally Posted by pilou2 View Post
    You mean the icon in product description editor window. I tried it on V2.1.0 and no problem to add a YouTube video.
    On ZC v1.5.8a, there is an iframe icon but when using it I got a message 'Firefox can't open this page'. The HTML code made by CKeditor is probably wrong.
    Try this:
    Click on source icon and insert this code where you want your video. Adjust the link for your YouTube video in the src part and size too:
    Code:
    <iframe src="https://www.youtube.com/embed/YouTubVideoCode" width="560" height="314" allowfullscreen="allowfullscreen"></iframe
    >
    Ah, of course. I had forgotten about CKeditor, something I have turned off and never use.
    Simon

 

 

Similar Threads

  1. v155 youtube code error
    By Tile Mural Store UK in forum General Questions
    Replies: 1
    Last Post: 28 May 2018, 10:04 AM
  2. Youtube
    By dmagic in forum Templates, Stylesheets, Page Layout
    Replies: 29
    Last Post: 5 Apr 2010, 04:40 AM
  3. Embedding youtube code that will validate?
    By new2u in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jan 2010, 06:02 PM
  4. Help need to set up per zip code shipping module with 5 zip code areas flat fee
    By cshart in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 11 Feb 2009, 06:31 AM
  5. Help with Product availability by Zip Code or Postal Code
    By enigma777 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 4 Jun 2008, 10:07 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