Caption: Karaoke (fill). Native 1920×1080, 4.5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).
The sentence in condensed caps; each word fills from white to the accent as it is spoken and stays filled.
Motion. Words fill on their cues (a hard switch on the beat). Why it moves. attention: the fill shows how far through the line you are, like a pace bar.
Mount
Copy every manifest file into your project (plus af-split-runtime). Mount with a unique host id, data-composition-id="af-split-caption-karaoke-16x9", data-composition-src="compositions/af-split-caption-karaoke-16x9.html", data-duration and data-variable-values. A longer data-duration than 4.5s extends the hold (the exit moves to the end of the mount). Use the variant whose size matches your project: 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).
text (required): {"type":"string","minLength":1,"maxLength":56}cues: {"type":"array","items":{"type":"number","minimum":0,"maximum":30},"maxItems":12}backdrop: {"type":"string","minLength":0,"maxLength":200}
cues: one block-relative time per word (from your transcript); leave it empty to space them 0.22 s apart. One cue per word.- 2 lines max.
backdrop is a still of the speaker so the block reads on its own; set it to "" over your live footage.
Brand and layout
Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: capTop (caption top, px), zoneTop (card zone top, px), exit (lift or hold).
Example
``json { "text": "Run slow enough to hold a conversation", "cues": "[]", "backdrop": "assets/af-split/media/speaker-16x9.jpg" } ``