Formation (line-up). Native 1920×1080, 5s at 30fps. A cutaway on the broadcast stage.
The line-up on the chalk pitch: lines chalk on, then eleven yellow discs drop into the formation with names under each.
Motion. The board slides up; lines draw; discs drop 0.06 s apart from 1.8x; names fade up. Why it moves. character: the team sheet, the way TV shows it.
Mount
Copy every manifest file into your project (plus af-pitchside-runtime). Mount with a unique host id, data-composition-id="af-pitchside-formation-16x9", data-composition-src="compositions/af-pitchside-formation-16x9.html", data-duration and data-variable-values. A longer data-duration than 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).
kicker: {"type":"string","minLength":0,"maxLength":14}title (required): {"type":"string","minLength":1,"maxLength":32}shape: {"type":"string","pattern":"^\\d(-\\d){2,4}$"}players: {"type":"array","maxItems":11,"items":{"type":"string","minLength":1,"maxLength":12}}
shape like 4-3-3 or 3-5-2 (adds up to 10); players from the keeper forward. 16:9 lays the pitch across; the other sizes stand it up.
Brand and layout
Brand variables (defaults from brand.json): colourway, accent, creator, handle, channel, tagline, monogram, ctaFollow, ctaLink, ctaCode. Layout: exit (wipe or hold).
Example
``json { "kicker": "", "title": "My *best XI*", "shape": "4-3-3", "players": "[\"Nwosu\",\"Hart\",\"Bello\",\"Grant\",\"Silva\",\"Moreau\",\"Kaya\",\"Rossi\",\"Okafor\",\"Lindqvist\",\"Bah\"]" } ``