Jump to content

How to add a video as product images

Go to solution Solved by paul2009,

Recommended Posts

Posted

In the product page, Squarespace only allows us to add image formats (png, gif, jpg...) to the product image section. Is there any way to pull it off with or without coding?

2023-01-16.png

  • Solution
Posted
33 minutes ago, BurakD said:

How to add a video as product images

It isn't currently possible to place videos in the Images section of a Product Page, but you can add them to the Additional Info section of the page by adding Video Blocks. These guides should provide you with more information.

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Posted

thank you very much. Indeed I am trying to show the video, when you hover over the image. The only way I know to make it is to add the second image as video or a gif file. 

  • 4 weeks later...
Posted

Can anyone help me replace the Product Image with a Video?

I've tried several workarounds, but to no avail. If it's indeed possible to feature a video in place of the image, that would be best, but I won't assume it's an easy customization. So, a compromise we could probably live with would be to use the Additional Info block to include a video, and then move the Additional Info block to the very top of each of the Product pages, i.e. above both the product info and product image. (Full page width is fine for the video; if only it were possible to add a section to the top of a product page!)

If you visit http://peoplepoweredgiftcards.com/marketplace/p/viewpoint-brewing-co you will see that I've added an Additional Info block (in this case an embedded video). So, that's my starting point. Any help would be much appreciated. Thanks in advance!

  • 5 months later...
Posted
On 2/9/2023 at 8:55 AM, dadocinqo said:

Can anyone help me replace the Product Image with a Video?

I've tried several workarounds, but to no avail. If it's indeed possible to feature a video in place of the image, that would be best, but I won't assume it's an easy customization. So, a compromise we could probably live with would be to use the Additional Info block to include a video, and then move the Additional Info block to the very top of each of the Product pages, i.e. above both the product info and product image. (Full page width is fine for the video; if only it were possible to add a section to the top of a product page!)

If you visit http://peoplepoweredgiftcards.com/marketplace/p/viewpoint-brewing-co you will see that I've added an Additional Info block (in this case an embedded video). So, that's my starting point. Any help would be much appreciated. Thanks in advance!

I'm a bit late but yes, you can accomplish this with our Product Gallery Video Plugin.

 

Founder - SQSPThemes.com

 

  • 2 months later...
Posted
On 2/9/2023 at 7:55 AM, dadocinqo said:

to use the Additional Info block to include a video, and then move the Additional Info block to the very top of each of the Product pages

Hi, not sure if you ever solved this. I just came up with a solution for a client that works perfectly. If you add a video block in the Additonal Info section, this code pops the video above your image gallery. You need to add it to your sitewide Code Injection, in the Header Code area:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>

<script>
$(document).ready(function(){
  $(".sqs-block-video").insertBefore('.ProductItem-gallery-slides');
  });
</script>

You can see the result live here: https://ademiboutique.squarespace.com/shop/paris. This is a 7.0 Brine site but as far as I can tell should work the same on 7.1. I can only vouch for it working with a single video block in the Additional Info section. Hope this helps though it was a while ago you asked the question!

  • 1 month later...
Posted
On 9/27/2023 at 3:40 PM, Inscape said:

Hi, not sure if you ever solved this. I just came up with a solution for a client that works perfectly. If you add a video block in the Additonal Info section, this code pops the video above your image gallery. You need to add it to your sitewide Code Injection, in the Header Code area:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.4/jquery.min.js"></script>

<script>
$(document).ready(function(){
  $(".sqs-block-video").insertBefore('.ProductItem-gallery-slides');
  });
</script>

You can see the result live here: https://ademiboutique.squarespace.com/shop/paris. This is a 7.0 Brine site but as far as I can tell should work the same on 7.1. I can only vouch for it working with a single video block in the Additional Info section. Hope this helps though it was a while ago you asked the question!

Hmm... this didn't work for me, but I wonder if it's the new site style (I created my site in May 2023 I think)... 

If anyone has follow-ups on making this work on the latest version of Squarespace, I'm all ears! Thanks.

  • 4 months later...
Posted
On 9/28/2023 at 8:40 AM, Inscape said:

I just came up with a solution for a client that works perfectly.

It kind of works for me but only when I refresh the page. When I first open the product page it doesn't look like anything has changed but then I refresh the page and the video goes to the top. This is the experience every time I open the product - it needs to be refreshed. Is this just a caching issue or am I experiencing an issue?

Posted
On 4/17/2024 at 6:58 PM, dillon said:

It kind of works for me but only when I refresh the page.

Do you have Ajax loading enabled on a 7.0 site? If you do, that's why it doesn't work. You will need to disable Ajax loading in order to make it work.

  • 3 months later...
Posted

Hi there,

I keep getting a message that the video (.mp4) will not load and to try again later. After trying several times I got frustrated and decided not to include a product video in additional information. Now I'm getting this error when I try to save the product page: An unexpected error occurred. Please try again later.

As you can see, the video uploads perfectly here...

Create an account or sign in to comment

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

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.