audit_video_playback
Detects non-playing or black videos by rendering pages in headless Chromium and comparing currentTime before and after play attempts, classifying each video's status with reasons.
Instructions
Render a page in headless Chromium and observe whether each actually advances (samples currentTime before/after a play attempt), classifying every clip into playing|paused|stalled|empty|error with a reason. Catches black/non-playing videos that static audits miss — the most common real-world defect on marketing sites with video backgrounds. Pass url to render + observe, or dom_snapshot to classify pre-collected observations without a browser.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL to render and observe (http/https or file://). Requires headless chromium. | |
| observeMs | No | Milliseconds to wait between currentTime samples after play() attempt. Default: 1000 | |
| dom_snapshot | No | Pre-collected video observations to classify without rendering (deterministic path) |