Video frames
video_frameCaptures video frames as images at the current position or specified timestamps, restoring playback state afterward. Reports DRM-blocked (black) frames.
Instructions
Returns frames of a video as images: the current frame, or frames at given times. Playback position and play/pause state are restored afterwards. Cross-origin videos are captured from the screen; DRM-blocked (black) frames are reported as such.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab to act on. Defaults to the session target tab (see tab_select). | |
| times | No | Timestamps to capture (default: the current frame). | |
| video | No | Media ref from video_list (e.g. "e7"). Defaults to the main video: the largest visible one, preferring a playing one. | |
| maxWidth | No | Downscale frames to this width (default 960). |