The Window (signature). Native 1920×1080, 7s at 30fps.
The signature frame: the shop window at night. The LED ticker flickers on with the status; the panels light one by one on their cables (the exterior, then two rooms) like a window at dusk; the rider, room plates and photo count light; the price card clicks on last; then the ticker letters change dot by dot to the address. The agency line sits on the glass.
Motion. Each panel drops a little and flickers on (fluorescent catch, 3+ frames per step) 0.35–0.45 s apart; the rider wipes; the price card flickers on at 2.5 s; the ticker changes letter by letter at 3.3 s. Why it moves. attention + character: each photo gets its turn to light, like a window coming on at dusk, and the price is the last light on.
Mount
Copy every manifest file into your project (plus af-lightbox-runtime). Mount with a unique host id, data-composition-id="af-lightbox-the-window-16x9", data-composition-src="compositions/af-lightbox-the-window-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.
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).
status (required): {"type":"string","minLength":1,"maxLength":16}status2: {"type":"string","minLength":0,"maxLength":16}rider: {"type":"string","minLength":0,"maxLength":18}photos (required): {"type":"array","minItems":3,"maxItems":3,"items":{"type":"object","properties":{"src":{"type":"string","minLength":0,"maxLength":200},"label":{"type":"string","minLength":0,"maxLength":14},"focus":{"type":"string","minLength":0,"maxLength":20}},"required":["src"]}}index: {"type":"integer","minimum":0,"maximum":60}total: {"type":"integer","minimum":0,"maximum":60}price (required): {"type":"string","minLength":1,"maxLength":12}priceLabel: {"type":"string","minLength":0,"maxLength":18}addr: {"type":"string","minLength":0,"maxLength":24}sub: {"type":"string","minLength":0,"maxLength":32}specs: {"type":"array","minItems":0,"maxItems":5,"items":{"type":"object","properties":{"v":{"type":"string","minLength":1,"maxLength":8},"u":{"type":"string","minLength":0,"maxLength":6}},"required":["v"]}}
status and status2 are LED messages (16 characters); the second replaces the first letter by letter.- Text is typeset exactly as written and never shrunk: a slot that does not fit stops the block with a message.
Style: colourway (night, daylight, high), brandColour and accent (optional hex), agency, footer, exit (lift or cut).
Timing
7s. Everything has landed by 4.2s (60%), then the scene holds still for reading and the graphics lift away over the last 0.4 s, leaving the photo or your footage.
Example
``json { "status": "Just listed", "status2": "Linden Row", "rider": "New this week", "photos": "[{\"src\":\"assets/af-lightbox/media/demo/exterior.jpg\"},{\"src\":\"assets/af-lightbox/media/demo/sitting.jpg\",\"label\":\"Sitting room\"},{\"src\":\"assets/af-lightbox/media/demo/kitchen.jpg\",\"label\":\"Kitchen\"}]", "index": 1, "total": 18, "price": "£685,000", "priceLabel": "Guide price", "addr": "Linden Row", "sub": "Bramley · Victorian semi", "specs": "[{\"v\":\"4\",\"u\":\"bed\"},{\"v\":\"2\",\"u\":\"bath\"},{\"v\":\"142\",\"u\":\"m²\"},{\"v\":\"EPC\",\"u\":\"C\"},{\"v\":\"Freehold\"}]" } ``