Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Video elements need the playsinline attribute to autoplay on iOS #8198
Videos won't autoplay on iOS due to the
There doesn't appear to be an easy way for the user to add it either.
For that reason, one of the following options would be helpful:
Steps to reproduce
Isolating the problem
It happens on any environment.
There appear to be one or two previous threads related to this issue, but they seem to be old and closed and don't suggest fixes:
The quickest fix would just be to add the playsinline attribute to background videos by default. That would be a lot simpler than the alternatives. I've submitted that change below.
Hi, I'm checking the background video but no code has been added. widget added to manual for video.php.