Shopify themes, liquid, logos, and UX
Hey,
I'am trying to put autoplay video on my homepage, and it just doesn't seem to work. I use this code in custom liquid section
But it doesn't work for me, video plays fine, but he is not autoplay one, you need to press the button and then he plays just on loop. I tried to update my theme from dawn 5.0.0 to dawn 13.0.1 but version of the theme wasn't the issue. I really could use some help, thank you!!
@GabijaZ Try below code in your output area and see it is working or not if working then replace the source url with your video url.
<video width="500" controls=0 autoplay playsinline muted loop>
<source src="http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4" type="video/mp4">
</video>
Unfortunately that didn't work either 😕
Can you please share the screenshot of the code where you placed? so i can get the idea where is the problem.
I guess I'am doing something wrong, but it just creates another video below this one
You are pasting code in the liquid section I suggest to put the code in html section block.
Do you mean in custom CSS block below?
Without checking the store codes and other issues in depth I can't help you!
Weird thing, I came back to this project after few days brake and out of nowhere it started working with no additional codes:DDD I guess nothing was wrong, somehow it just needed time to start working
Actually it only works on chrome browser but not on safari...
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025