If you visit the following link - you will see when you hover over the image, it activates a short video clip of the product --- my client wants me to implement that to their Shopify account, does anyone know if their is a solution? Can I use shopify settings to do this or is their a 3rd party app? What is the best way to add this without having to use a third party? Thank you for your help.
I don't know if there is an app for it, but it wouldn't be too hard to implement yourself. Looking at the inspiration website, they basically have a background image with a video over the top that has opacity: 0.
Then on hover, the video opacity is transitoned to 1 and the video is played using mouse enter JS event.
Hey @GoPatriots ,
I am not sure whether that is a 3rd party app, but that is totally doable without apps.
I actually did something similar recently. That is how I achieved it:
1. Add the <video> tag to the thumbnails in question with absolute positioning.
1. a. Apparently the video file in this website is always the second product "image", but you can even use something like Advanced Custom Fields to allow your client to choose & upload his own video files to any product thumbnails he wants to.
2. On hover, find out whether the video is loading or not. There are a few ways to do it.
3. Once it is loaded, add a class to thumbnail with opacity animation just like the website you showed us has.
That is about it! I hope it helps.