Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hello, I am using this code to mute, autoplay, loop, and hide video controls
<video controls="" loop="" muted="" playsinline="" autoplay="" src="https://cdn.shopify.com/videos/c/vp/bcf3549c4f5143f0aefa2363d7997049/bcf3549c4f5143f0aefa2363d7997049.HD-1080p-2.5Mbps-23138601.mp4" type="video/mp4"></video>
the video controls are still visible, the video isn't autoplaying or looping. I have the loop option checked in the theme customizer. I am using the Craft theme. I put this code in the theme liquid file. Any tips on where I am going wrong and how to fix?
Please try to update your code to this and check again
<video loop muted playsinline autoplay src="https://cdn.shopify.com/videos/c/vp/bcf3549c4f5143f0aefa2363d7997049/bcf3549c4f5143f0aefa2363d7997049.HD-1080p-2.5Mbps-23138601.mp4" type="video/mp4"></video>
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.