autoplay product video

autoplay product video

ds101
Visitor
3 0 0

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.  

Replies 4 (4)

autoBlogger-Oll
Shopify Partner
49 2 8

Hey

 

Do you mind sharing the page URL so that we can take a look 🙂 

 

Ollie | Owner & Developer of autoBlogger

autoBlogger — Set it and forget it! SEO optimised and powered by AI for effortless blogging. Start your 14-day free trial today!
ds101
Visitor
3 0 0

shopdormstyle.com

ds101
Visitor
3 0 0

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. 

autoBlogger-Oll
Shopify Partner
49 2 8

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!

 

Olllie_0-1730161271240.png

 

I hope this helps. 🙂 

Ollie | Owner & Developer of autoBlogger

autoBlogger — Set it and forget it! SEO optimised and powered by AI for effortless blogging. Start your 14-day free trial today!