A user wants to ensure their hero section video autoplays reliably across all devices, particularly mobile, where it occasionally fails to load properly despite working most of the time.
Current Status:
Multiple community members confirmed the video autoplays correctly on both desktop and mobile during their tests
The issue appears intermittent rather than consistent
Suggested Solution:
Add muted playsinline autoplay attributes to the video tag
This addresses mobile browser restrictions that typically prevent autoplay unless videos are muted
Key Context:
Mobile browsers have autoplay policies requiring videos to be muted for automatic playback
The playsinline attribute is specifically important for iOS devices
Summarized with AI on October 25.
AI used: claude-sonnet-4-5-20250929.
Hello community!
I have a hero section on my landing that includes a video, and I’d like it to autoplay automatically on all devices without visitors having to click anything. In desktop it works fine, my main problem is on mobile. Is there a code i can add to make the section autoplay?
Thank you in advance!
My store url is: www. sclpted. com
Delete the spaces to copy the URL shopify community is not letting me post the actual URL
I just checked your website and that video is completely working fine and auto playing for me on both desktop and mobile, are you sure that issue is still occuring?
Hello Mooed, Thank you for your quick response! It works most of the times, but in some cases it doesnt load properly, is there a code to ensure the autoplay feature? thank you again! I really aprecciated.
Hey, I ran into that same issue before. On mobile, videos usually won’t autoplay unless they’re muted, so try adding muted playsinline autoplay in the video tag. That should do the trick.