Product Shot (picture-in-picture). Native 1920×1080, 4.5s at 30fps. Sits over the creator's full-bleed footage (transparent outside its own parts).
A product or texture photo framed on a cream smear beside the face, with a spaced-caps caption.
Motion. The framed smear swipes on (0.55 s). Why it moves. continuity: the product arrives in the same material as the cards.
Mount
Copy every manifest file into your project (plus af-swatch-runtime). Mount with a unique host id, data-composition-id="af-swatch-product-shot-16x9", data-composition-src="compositions/af-swatch-product-shot-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).
photo (required): {"type":"string","minLength":0,"maxLength":200}focus: {"type":"string","minLength":0,"maxLength":20}caption: {"type":"string","minLength":0,"maxLength":28}side: {"type":"string","enum":["left","right"]}backdrop: {"type":"string","minLength":0,"maxLength":200}
photo is a path in your project; focus is the CSS object-position.- 16:9 uses the empty third beside the face; 9:16 the band under the chin (clear of the right-hand platform buttons); 4:5 and 1:1 the lower zone. Move it with
zoneTop. 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 (wipe or hold).
Example
``json { "photo": "assets/af-swatch/media/speaker-16x9.jpg", "focus": "50% 40%", "caption": "The texture", "side": "left", "backdrop": "assets/af-swatch/media/speaker-16x9.jpg" } ``