Shopify themes, liquid, logos, and UX
I have the code below posted as Custom Liquid section on my homepage. I use the free theme Craft. Can someone share what I can add to remove the control bars that show up when you hover over the video? The play bar, sound, expand, etc.
<video style="max-width: 100%; height: auto;" controls muted playsinline autoplay loop>
<source src="https://cdn.shopify.com/videos/c/o/v/14d4d950d0ab42228c3cdb470cb76bf6.mp4" type="video/mp4">
</video>
Website is strayfolkgoods.com
Solved! Go to the solution
This is an accepted solution.
Remove the controls attribute from the video
<video style="max-width: 100%; height: auto;" muted playsinline autoplay loop>
<source src="https://cdn.shopify.com/videos/c/o/v/14d4d950d0ab42228c3cdb470cb76bf6.mp4" type="video/mp4">
</video>
This is an accepted solution.
Remove the controls attribute from the video
<video style="max-width: 100%; height: auto;" muted playsinline autoplay loop>
<source src="https://cdn.shopify.com/videos/c/o/v/14d4d950d0ab42228c3cdb470cb76bf6.mp4" type="video/mp4">
</video>
Thank you! This worked great for desktop but now on mobile it's not autoplaying! It has a big play button in the middle. Is there a workaround for that?
Oh...strange! The play button is only showing sometimes. Do you know why that could be happening?
It shouldn't be. As long as it's muted, the autoplay attribute is set, and playsinline attribute is set for iOS it should be fine autoplaying on mobile.
User | RANK |
---|---|
201 | |
173 | |
61 | |
52 | |
47 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023