Captions: rail. Native 1920×1080, 7s at 30fps. Sits over the creator's footage (transparent outside its own parts).
The phrase on one line with a neon underline that glides from word to word as each is spoken, like the lit segment on the charts.
Motion. Phrase fades in (0.12 s); the underline glides to each word (0.14 s, ease in-out). Outro: blur out (0.3 s). Why it moves. continuity: the same lit line that runs the charts runs the words.
Mount
Copy every manifest file into your project (plus af-breakout-runtime). Mount with a unique host id, data-composition-id="af-breakout-captions-rail-16x9", data-composition-src="compositions/af-breakout-captions-rail-16x9.html", data-duration="7" and data-variable-values. Use the variant whose size matches your project (16x9, 9x16, 4x5, 1x1): each is laid out natively, never scaled. Over live footage set backdrop to "" (the default still is only there so the block reads on its own).
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 (text is fitted to at most 75% of its design size, never cut).
captions (required): {"type":"array","minItems":1,"maxItems":80,"items":{"type":"object","required":["start","end","text"],"properties":{"start":{"type":"number","minimum":0},"end":{"type":"number","minimum":0},"text":{"type":"string","maxLength":60},"t":{"type":"array","items":{"type":"number"}}}}}capX: {"type":"number","minimum":0,"maximum":4000}
- Times are block seconds; mount it once per stretch of talking with that stretch of the transcript.
- Star the key word:
"die at *three* seconds". capTop (px) moves the line: 0 = just above the box; in full-bleed beats set it to the chest.
Brand and layout
Brand variables (defaults from the pack's brand.json): creator, handle, channel, tagline, colourway, accent, monogram, logo, ctaFollow, ctaLink, ctaCode. colourway is night, paper or midnight; accent (hex) recolours the neon role and falls back if it would not read on the ground. Layout: ground (auto / night / paper / none), backdrop + cutout (the still shown in the speaker box when the block is used on its own; "" in a starter), headTop / speakerX / speakerScale (fit the box to your master), side (which side the box sits on), capTop (captions line), exitAt, exit.
Example
``json { "captions": "[{\"start\":0.2,\"end\":2.2,\"text\":\"this is why your videos\",\"t\":[0.2,0.42,0.62,0.9,1.3]},{\"start\":2.2,\"end\":6.5,\"text\":\"die at *three* seconds\",\"t\":[2.2,2.65,2.9,3.4]}]" } ``