uichemy_set_videos
Put a clip in a slot. Two kinds of slot, and both are taken here: a VIDEO slot — video_url_…, the <video> a handful of layouts ship — and an IMAGE slot (image_url_…, portrait_image_url_…) turned into a video, which is the Image panel's 'Convert to Video': the picture stays as the poster underneath and the clip covers its exact box. Slot tokens come from uichemy_get_page or uichemy_template_slots. playback mirrors the Video panel for a converted image slot: startTime (seconds), preload, mobile ("poster" serves the still alone on phones) and overlay (0-100 % black over the clip). loop / muted / autoplay / controls are NOT settable there — a converted slot is decoration, so the engine always loops it muted with no controls and decides autoplay per surface; and it has no fit or ratio of its own, it takes the image slot's (uichemy_set_image_display). The panel stores no playback for a template video_url_… slot either, so none is accepted there. remove turns converted image slots back into pictures. An unset video_url slot is NOT broken — the canvas fills it from stock footage on first render.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| remove | No | Converted image slots to turn back into pictures. | |
| videos | No | { "video_url_e6v0a3": { "src": "https://…/clip.mp4", "poster": "https://…/still.jpg" }, "image_url_k2j4": { "src": "https://…/loop.mp4", "playback": { "mobile": "poster", "overlay": 30 } } } | |
| projectId | Yes |