Hi,
I have a video set as the second media item on my product page. On a laptop, the video autoplays when I navigate to it. However, on a mobile phone, it doesn’t autoplay, and I would like to ensure that it does.
Could this be a configuration issue in the product-media.liquid file? I’ve checked the file, and it contains the following section:
Any assistance would be greatly appreciated.
Thank you!
The code in your product-media.liquid file looks like it should autoplay the video, but mobile browsers often block autoplay to save data and battery life. To ensure your video autoplays on mobile, you can add a few tweaks.
Notice the addition of muted: true to the autoplay configuration. Mobile browsers often require videos to be muted to allow autoplay. This tweak should help the video to start playing automatically on mobile devices.
1 Like
Hello,
Im looking for a solution to this problem. I tried your code (the theory of it makes sense), but after I added it when you click the video it just takes you to a html page.
Do you have any solutions please? I’ve looked all over for one!