Hi, hoping someone can help me please. I added a video to my homepage yesterday (auto play). This was working fine on computer and mobile, but today it won’t auto play on laptop, but auto plays on mobile. Any idea how I fix this so it auto plays on both? Below is the code I used. Thank you.
{% if template == “index” or template == “page” %}
It seems there is an issue with the way you’ve embedded the video in your Shopify store. To ensure consistent autoplay behavior on both laptops and mobile devices, you can try using the HTML5 video tag directly without the iframe.
Here’s an updated version of the code that you can use:
{% if template == "index" or template == "page" %}
{% endif %}