Hi,
I’ve added a video for my product. The same as I would for an image. But I want to to play automatically in a loop and to not have controls. Can someone help me? Stubble&co have done this perfectly:
Hi,
I’ve added a video for my product. The same as I would for an image. But I want to to play automatically in a loop and to not have controls. Can someone help me? Stubble&co have done this perfectly:
Hi @kesmon ,
Welcome to the Shopify community. I am Shopify Partner here to help you.
I opened the URL you pasted above. The video seams to play auto and in loop as well, it is also not showing any controls on video. I think it’s working correct. Just sharing a screenshot here if I am checking the correct video.
Thanks
Hi Kesmon,
You’ll need to turn off the controls setting inside the Theme’s code. As for autoplay, your theme already has autoplay in it, it just needs to be changed.
![]()
Then you might want to be aware that modern browsers block audio (or videos with an unmuted audio track) from autoplaying, as sites that automatically play audio can be an unpleasant experience for users.
Let me know if you need further help or you have any questions
![]()
Hi Paul,
Thanks for your reply.I can’t seem to find this piece of code. How do I turn off the controls in the theme’s code? What do I change the: controls:“controls” to?
Hi Kesmon, inside the Code Editor for the theme, open the file named product-thumbnail.liquid, then by scrolling down to number 144 or 145. You’ll find this piece of code
![]()
After that, just change controls: true into controls: false
Hi,
Now it works if you press the miniature image but not if you slide trough the images on mobile. Do you know what to do?