Your video is set to start automatically, yet it waits for a click. If the file plays normally after you click, check whether the browser allows automatic playback in that context.
Autoplay is playback without a viewer asking for it. It also includes a script that calls play() when the page loads. The same browser rules can apply whether autoplay starts from an HTML attribute or a script.
Three things determine whether autoplay works
The website or player requests playback, then the browser checks if autoplay is allowed in the current context. The source also has to be reachable and playable. An autoplay option controls the request.
Chrome’s documentation distinguishes muted autoplay from playback with sound. Previous interaction with the website matters. On desktop, prior media engagement can also affect the outcome. The same page can therefore behave differently for different viewers.
Chrome introduced the documented rule in 2018. We checked the documentation again on 22 October 2026. Other browsers and individual settings need their own checks.
Three results from one local test
On 22 October 2026 we used a local test page in Chrome 155 on Windows, with a six-second H.264/AAC file. The AAC track contained silent samples. The test examined whether playback started. We left the browser’s security and autoplay settings unchanged.
On a fresh local origin, the page called play() on the unmuted video before any interaction and received NotAllowedError. We then pressed the visible start button. The request succeeded, and the page recorded playback.
On a second fresh local origin, the same video started with muted=true when play() was called, without a click.
- Unmuted, without a click: the automatic request was rejected.
- Same file after a click on the visible start button: playback started.
- Muted, without a click on the second origin: playback started.
A silent audio track and the muted property are distinct. The audio track in the first test stayed unmuted, even though its samples were silent. Use the result as a reason to check file access and autoplay permission separately on each target browser.
Did the player ask to start, or did playback begin?
The play() method returns a promise that resolves when playback starts and is rejected if the request fails. An interface with custom controls should use that result to decide which button to show. If the request fails, make the play control available.
MDN refers to "NotAllowedError" for an unauthorized playback scenario and "NotSupportedError" as a possible error when the source is not supported. These are useful indicators, but they do not constitute a complete cause list for every player. Record the actual error message instead of grouping all playback issues under "Autoplay broken."
For a typical website operator, simple observation is often sufficient: Is the player visible, and does playback start after a deliberate click? If yes, first investigate the desired playback mode and the browser context. If the click fails, expand the investigation to source, access, and actual playback.
An iframe adds another permission check
An iframe can receive autoplay permission through Permissions Policy. Whether autoplay with sound works still depends on the surrounding page and the browser’s rules.
Use the embedding code currently recommended by your video host. For a self-hosted video, MDN’s example uses muted, playsinline and visible controls. Repeat your checks on the target browsers and phones.
Give viewers a way to start playback
- Decide if autoplay helps someone use this particular video.
- Provide a visible play button that a viewer can operate.
- Test on a fresh visit, then try the play button.
- Compare muted and unmuted playback with the same file.
- Record the browser, device, start method and observed result. Repeat the check on the devices your viewers will use.
In our test, the visible button provided a working route to playback after the automatic request was declined. Keeping that control visible gives viewers a clear next step.
Chrome: documented autoplay rules
MDN: Autoplay and blocked playback