---
title: "Autoplay video missing muted/playsInline (ui/video-autoplay)"
description: "iOS only autoplays muted video, and without playsInline it takes over the screen in the fullscreen player."
url: http://localhost:4173/rules/ui/video-autoplay
updated: 2026-11-11
---

# Autoplay video missing muted/playsInline

> `ui/video-autoplay` is a vetd rule. It flags: Autoplay video missing muted/playsInline. It runs on every `check`, together with the TypeScript check.

| Fact | Value |
| --- | --- |
| Rule id | `ui/video-autoplay` |
| Severity | warning |
| Group | Interface craft: accessibility, motion and mobile |
| Tags | correctness |

## Why it matters

iOS only autoplays muted video, and without playsInline it takes over the screen in the fullscreen player.

## How to fix it

<video autoPlay muted playsInline loop>.

## Credit

Based on work by:

- [WebKit](https://webkit.org): Introduced the iOS policy that autoplay requires muted video and inline playback.

## References

- [New <video> Policies for iOS](https://webkit.org/blog/6784/new-video-policies-for-ios/), WebKit
- [Autoplay guide for media and Web Audio APIs](https://developer.mozilla.org/en-US/docs/Web/Media/Guides/Autoplay), MDN Web Docs

## Get this text from vetd

MCP: call `explain` with `{ "diagnosticId": "ui/video-autoplay" }`. CLI: `npx vetd explain ui/video-autoplay`.

---

[All 92 rules](http://localhost:4173/rules.md) · Previous: [`ui/input-font-size`](http://localhost:4173/rules/ui/input-font-size.md) · Next: [`ui/click-on-non-interactive`](http://localhost:4173/rules/ui/click-on-non-interactive.md)
