video needs playsinline to autoplay on Safari iOS
- Dominant language
- Markdown
- Stars
- 11k
- Forks
- 23.2k
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 331
Description
### MDN URL
https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video
### What specific section or headline is this issue about?
Additional information about autoplay
### What information was incorrect, unhelpful, or incomplete?
Browser compatibility table correctly states that the `muted` attribute should be used if using `autoplay`. But Safari on iOS needs the `playsinline` attribute too.
### What did you expect to see?
Add an note to use `playinsline` for iOS too if using `autoplay`
### Do you have any supporting links, references, or citations?
[Apple WebKit documentation](https://developer.apple.com/documentation/webkit/delivering-video-content-for-safari#Enable-Video-Autoplay) states ```Video elements that include play automatically when the video loads in Safari on macOS and iOS, only if those elements also include the playsinline attribute. For more information on inline playback, see [Enable Inline Video Playback](https://developer.apple.com/documentation/webkit/delivering-video-content-for-safari#Enable-Inline-Video-Playback).```
### Do you have anything more you want to share?
It seem that, in contrast to the WebKit dokumentation, macOS Safari does not need to `playsinline` attribute
### MDN metadata
Page report details
* Folder: `en-us/web/html/reference/elements/video`
* MDN URL: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/video
* GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/html/reference/elements/video/index.md
* Last commit: https://github.com/mdn/content/commit/599ae8b7ad414e91df473d91983f4ffc5cafabb3
* Document last modified: 2026-04-24T14:15:02.000Z
Contributor guide
Assessment
This issue has not been assessed yet.