Clip in a Window. Native 1920×1080, 8s at 30fps.
A video source plays inside the window: the host mounts the clip under this frame in the screen rect (see TEMPLATE.md). A broadcast bug, a lower third and a playhead sit on the screen, and the line the speaker repeats is set under it and underlined.
Motion. Bug rises; the lower third wipes open from its accent tab; the playhead creeps along the bottom of the screen (time passing in the source); the quote rises and the pen draws under it. Why it moves. attention + continuity: a clip is a receipt too, and the caption keeps the exact words on screen while it plays.
Mount
Copy every manifest file into your project (plus af-receipts-runtime). Mount with a unique host id, data-composition-id="af-receipts-clip-window-16x9", data-composition-src="compositions/af-receipts-clip-window-16x9.html", data-duration and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled.
Content slots
Nested slots are JSON strings. Every slot is checked against constraints.json and measured against the layout before anything draws; the block stops with a message naming the slot and the fix (it never truncates or shrinks text).
bug: {"type":"string","minLength":0,"maxLength":24}name: {"type":"string","minLength":0,"maxLength":32}role: {"type":"string","minLength":0,"maxLength":48}quote: {"type":"string","minLength":0,"maxLength":200}start: {"type":"number","minimum":0,"maximum":36000}length: {"type":"number","minimum":1,"maximum":36000}url: {"type":"string","minLength":0,"maxLength":70}date: {"type":"string","minLength":0,"maxLength":24}cues: start time (s, from the scene start) of each [[quote]], in order; empty = spaced automatically. {"type":"array","items":{"type":"number","minimum":0,"maximum":40},"maxItems":8}pace: spoken words per second (default 2.4); each underlined word draws in its own 1/pace slot. {"type":"number","minimum":1,"maximum":6}
- Mount your clip on a track below this block with
style="z-index:0" and this block above it with style="z-index:1", at the screen rect for your size (left/top/width/height in px): 16:9 470,186,980,551; 9:16 85,483,910,512; 4:5 84,327,912,513; 1:1 78,203,924,520. The starter films show it. start and length (s) drive the playhead (where the clip sits in the full video).- This frame holds still (no camera move, no exit) so it stays locked to the clip: put a tab swipe before and after it.
Style: colourway (ember, ink, marker), accent (optional pen hex), mark (underline or highlight), page (paper, cream, night), exit (drop or cut), duration (seconds).
Syncing to the narration
Give cues the second (from the scene start) at which the speaker starts each quote, and pace their speaking rate in words per second; each quoted word then draws its stroke in its own 1/pace slot, so the line keeps time with the voice. Raise duration (and the mount's data-duration) to fit long narration: every reveal must land by 60% of the scene, which leaves the rest as a still, readable hold.
Timing
8s by default. The window rises in the first 0.7 s, the reveals land by 60%, the lamp glow keeps breathing during the hold (text stays still), and with exit: drop the window sinks off the desk over the last 0.45 s.
Example
``json { "bug": "Workday Live", "name": "Theo Marsh", "role": "Founder, Marsh & Field (trial firm)", "quote": "We did not lose a single client. [[We lost about four meetings a week]].", "start": 22, "length": 64, "url": "northline.example/video/four-day-week", "date": "Mar 14, 2026", "cues": "[]", "pace": 2.4 } ``