# Audio and video player

**Test family:** `MED`

- **MED-001** Load/play/pause/seek/restart/end at zero, short, ordinary, long, live, corrupt, and unsupported media.
- **MED-002** Keyboard and touch reach play, seek, volume/mute, captions, speed, quality, fullscreen, and picture-in-picture.
- **MED-003** Current/duration/buffered values are announced; seeking and volume have usable increments.
- **MED-004** Autoplay follows browser/user policy, starts muted where required, and never surprises with sound.
- **MED-005** Slow/offline/interrupted/expired-source/DRM/error states preserve retry and do not spin forever.
- **MED-006** Captions/subtitles sync through seeking/speed, identify speakers/sounds, support language choice, and remain readable.
- **MED-007** Transcript and audio description are present where required and navigate with media time when promised.
- **MED-008** Fullscreen/orientation/PiP/background/tab switch preserves intended state and controls.
- **MED-009** Signed media URLs, range requests, downloads, analytics, and thumbnails preserve authorization/privacy.
- **MED-010** Multiple players do not produce overlapping audio or steal global media controls unpredictably.

## Comprehensive per-item coverage

- **MED-011** Exercise unavailable, permission-denied, idle, initializing, active, paused, completed, canceled, failed, and recovered states.
- **MED-012** Use adjacent names, captions, metadata, or pasted text containing ASCII emoticons, emoji/ZWJ sequences, kaomoji, RTL, combining marks, and long values.
- **MED-013** Start through pointer, keyboard, touch, switch, voice, automation, and supported device controls; expose equivalent state and one action.
- **MED-014** Deny, grant, revoke, and change OS/browser permission while idle and active; explain consequences and stop access promptly.
- **MED-015** Disconnect, reconnect, sleep/wake, background/foreground, rotate, resize, switch devices, and change network quality during use.
- **MED-016** Force unsupported format, codec, capability, device, browser, version, and hardware acceleration; fall back truthfully.
- **MED-017** Use empty, tiny, ordinary, boundary-size, malformed, truncated, corrupt, and adversarial inputs without crash or unbounded work.
- **MED-018** Use inert markup, script, URL, path, filename, metadata, template, and structured-payload canaries; isolate untrusted content.
- **MED-019** Attempt cross-origin, cross-tenant, unauthorized, sandbox escape, clipboard, device, and local-resource access; enforce least privilege.
- **MED-020** Double-start, double-stop, repeat, retry after timeout, and race two sessions or devices; prevent duplicate work and state confusion.
- **MED-021** Navigate away, refresh, crash, restore, expire the session, and resume offline/online; define preservation, cleanup, and recovery.
- **MED-022** Verify keyboard path, accessible role/name/state, focus, announcements, captions/alternatives, contrast, reflow, target size, and reduced motion.
- **MED-023** Test locale, RTL, translated/long labels, input methods, regional formats, and unsupported glyphs without corrupting data.
- **MED-024** Measure initialization, interaction, processing, rendering, memory, CPU/GPU, battery, bandwidth, and cleanup at normal and boundary load.
- **MED-025** Inspect DOM, device buffers, temporary files, caches, URLs, logs, telemetry, crash reports, previews, and exports for sensitive leakage.
- **MED-026** Stop, cancel, undo, clear, delete, and revoke; release devices, handles, workers, object URLs, temporary data, and permissions.
- **MED-027** Change access or ownership after content is loaded or a capability is granted; reauthorize before save, share, export, or commit.
- **MED-028** Verify telemetry and audit identify capability, actor, target, permission decision, duration, failure, retry, and cleanup without recording sensitive payload.
- **MED-029** Test concurrent components competing for the same device, shortcut, clipboard, focus, storage, worker, or media resource.
- **MED-030** Recover from renderer, worker, process, device, storage, and network failure without false success, orphaned capture, or unrecoverable data loss.

[Back to Specialized controls and system surfaces index](../../specialized-controls.md)
