A user is trying to implement an autoplaying, looping, and muted product video on their Shopify store, similar to what major brands like Therabody use on their product pages.
Current Issue:
When uploading a video as a product image, the video does not autoplay or loop automatically
The desired functionality shows the video playing immediately when the page loads, continuously looping without sound
Example Reference:
Therabody’s Smart Goggles product page demonstrates the target behavior with an autoplay video showing product usage
Status:
The discussion remains open with one respondent offering coding assistance to implement the solution, pending confirmation from the original poster about their comfort level with code modifications.
Summarized with AI on October 29.
AI used: claude-sonnet-4-5-20250929.
I hope you are able to help me out with the current issue I am facing, I have seen big brands being able to upload video demo of their product as the product image on shopify, however I am unable to replicate the same level as when I upload the video as the product image, my video is unable autoplay and loop.
Yeah, that’s definitely achievable on Shopify, Shopify’s native video upload doesn’t autoplay or loop by default (it’s intentionally restricted), but you can absolutely replicate the same experience by embedding the video as an inline element within the media wrapper, and then controlling it with a few lines of JavaScript to enable autoplay, looping, and mute.
It depends slightly on your theme’s structure (some handle media differently), but it’s just a matter of finding where the product__media block is rendered and injecting the right attributes.
If you’re comfortable digging into your theme’s Liquid code, I can walk you through it step by step; or, if you’d rather have it set up cleanly without breaking your current gallery layout, I can take a look and implement it for you directly.
I see, how do i do that? As I am currently using pagefly page builder to build my shopify product page. when it comes to this product_media block, I have to dig into the theme code to find it?
Exactly, you’ve got it right. Since PageFly is handling the layout visually, it doesn’t expose Shopify’s native product__media block directly in its editor. The autoplay and loop behavior you’re after actually happens on the theme layer, not inside PageFly.
What you can do is:
Identify which section or snippet your product template is calling for media (in most themes, it’s something like main-product.liquid or product-media-gallery.liquid).
Inside that file, locate the <video> or <media> tag — then you can add attributes like autoplay, loop, muted, and playsinline.
Finally, you can re-sync that section to PageFly, so the video still appears in your PageFly layout but keeps the autoplay behavior.
If this is feeling too technical, let me know i could come in and save you the hassle.