Prompt
My embedded videos won’t autoplay on mobile — how do I fix that?
Latest observation
Nov 6, 2026
OpenAI APIWeb search: off
Mobile browsers usually block autoplay for videos that have sound. The fix is usually to make the video muted by default and optionally start playing inline.
What to change
1) Add muted and playsinline
For HTML5 video, use:
<video autoplay muted playsinline loop>
<source src="video.mp4" type="video/mp4">
</video>
Why:
autoplaytells the browser to start it automaticallymutedis required for autoplay on most mobile browsersplaysinlineprevents iPhone/iPad from forcing fullscreen playback
2) If it’s an iframe embed (YouTube, Vimeo, etc.)
You need to enable autoplay in the embed URL and usually mute it too.
YouTube example
<iframe
src="https://www.youtube.com/embed/VIDEO_ID?autoplay=1&mute=1&playsinline=1"
allow="autoplay; encrypted-media"
allowfullscreen>
</iframe>
Vimeo example
<iframe
src="https://player.vimeo.com/video/VIDEO_ID?autoplay=1&muted=1&playsinline=1"
allow="autoplay; fullscreen; picture-in-picture"
allowfullscreen>
</iframe>
3) Make sure the browser is allowed to autoplay
Some browsers also require:
- the video to be muted
- the site to be HTTPS
- the iframe to include
allow="autoplay"
4) If you want sound, autoplay won’t work reliably
On mobile, autoplay with audio is generally blocked. The usual pattern is:
- autoplay muted
- show a “Tap to unmute” button
Common reasons it still fails
- Missing
muted - Missing
playsinline - Using a third-party embed without
allow="autoplay" - The browser/device policy blocking autoplay
- Trying to autoplay with audio
If you want, I can help you fix the exact embed code you’re using.