Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello i am on the latest Dawn theme and have a product video of a shirt rotating in mid air. I wanted the video to be the main product image and autoplay upon arriving on that page and looping. Is there anyway to do this ive tried all other thing sand managed to get it to autoplay and loop but it is a sub image or to the right of the main image.
Hey
Do you mind sharing the page URL so that we can take a look 🙂
shopdormstyle.com
Its the darty social club shirt. I have a somewhat solution I converted the mp4 into a webp and put it as the main image. But doing this it takes a while for it to load sometimes and sometimes it is blank screen. The rotating one on the right is an mp4 but its done by editing the code using something i found online. But its not really what i want, i want it as the main image.
Hey, it’s loading for me as both the main and secondary images. However, the main image took a very long time to load (like minutes), so the current setup probably isn’t suitable.
What about using a GIF instead of a video? I tried it on my test store, and it worked well. Just convert your video to a GIF (you can adjust the frames per second to make it smoother while keeping the file size as small as possible), then optimise the GIF file. I just Googled "GIF compressor" and used the top result. It loads as the main image on my test store with no extra coding or anything; I simply added the GIF as my product image. It loads quickly, but be sure to optimise it to get the file size as small as you can!
I hope this helps. 🙂
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024