Jump to content

Recommended Posts

You can embed a video in the product description by adding the html code provided by YouTube. An example is shown below:
 

Quote

<div class="embed-responsive embed-responsive-16by9"><p>

<iframe width="560" height="315" src="https://www.youtube.com/embed/uaYJvhp_8hg" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

</p></div>

 

Share this post


Link to post
Share on other sites
33 minutes ago, rajudp said:

please help me to set youtube video for item. i have tried all addons but none is working for me.

No add-on required if you wish to show on product page. Simply use the stock gallary to add a large image with a video holding image and add your iframe with the link to the video into the image html box. That's it you have linked an image to that product now when you go to the product you will see the holding image click it and the video will show.

You must have a holding image.

You can see this in opperation here. video in gallery

image.thumb.png.3c4051190ca5c2bd9ce88fdb8789f533.png

image.png.b159bc4980a31b8e9cebc896bc3ce3da.png

 


 

Share this post


Link to post
Share on other sites

 

How to add YouTube Product Videos to Phoenix v1.0.7.9 & v1.0.7.10?

Admin > Categories / Products > Product > Edit > Product Images > HTML Content:


2.3.4 working:

Admin > Categories / Products > Product > Edit > Product Images >

Browse Image: YouTube.png

HTML Contant:

<div class="video-container">
<iframe src="https://www.youtube.com/embed/123456789" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe><div class="absolute-container">
<img src="https://www.website.com/images/YouTube.png" alt="YouTube" />
</div></div>


How to add YouTube Product Videos to Phoenix v1.0.7.9 & v1.0.7.10?

Share this post


Link to post
Share on other sites

Phoenix v1.0.7.9 & v1.0.7.10

Admin > Categories / Products > Product > Edit > Product Images >

Browse Image: YouTube.png (16x9)

HTML Content:

<div class="embed-responsive embed-responsive-16by9"><iframe src="https://www.youtube.com/embed/123456789" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></div>

 

Images automatically change while YouTube video is playing?

Share this post


Link to post
Share on other sites

The ability to add videos via the "products gallery" was removed.  It was unwanted by a majority of shopowners.

If you need to add in video, inline it in the product description would be a simple option.

Or make(or get made) a module to suit needs.  Could be

  • a pi module
  • a content module
  • a tab module

Would need some type of admin interface, I suggest a Hook for that.


Help shape the future of Phoenix; join the Phoenix Club

Share this post


Link to post
Share on other sites

What is the purpose of htmlcontent field nowadays? I tested in 1.0.7.9 and put some plain text into htmlcontent of one gallery image. The text will show in the carousel on the particularly image.

Share this post


Link to post
Share on other sites
6 hours ago, vmn said:

What is the purpose of htmlcontent field nowadays? I tested in 1.0.7.9 and put some plain text into htmlcontent of one gallery image. The text will show in the carousel on the particularly image.

Put some info or something like that and why plain text? 

example.png

Share this post


Link to post
Share on other sites

The ability to add videos via the "products gallery" was removed.  It was unwanted by a majority of shopowners.

I disagree it is a simple way to add product videos.

 

 

Share this post


Link to post
Share on other sites
On 11/11/2020 at 4:28 PM, Fiber said:

Put some info or something like that and why plain text? 

Unfortunately, multiple languages are not supported. So, I can't see much use for htmlcontent.

I've implemented optional multi-lingual description text for product images in  v2.3.4.1 CE (BS). Right now I'm learning hooks and have made the same (still testing) for Phoenix 1.0.7.9 without changing the core. Gallery modules are the next thing to override.

Share this post


Link to post
Share on other sites
2 hours ago, vmn said:

Unfortunately, multiple languages are not supported

I know, but that was not your question 😀

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×