Video stills: Frame at on video blocks and the front page's video, and Tools > Video thumbnails (migration 074)

Frame at (a still from a YouTube or Facebook video at a typed time)
now also fills a video block's still and the front page's new Video
still, which the hero shows before its featured video plays. Tools >
Video thumbnails takes one from any link, to download or copy into a
field. All go through the existing POST /api/admin/video-frame.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Aidan Dona 2026-10-08 12:10:44 -05:00
parent 31d9f78120
commit 14a22ca44d
12 changed files with 240 additions and 13 deletions

View file

@ -14,11 +14,18 @@ it: **Save to library** and **Save to Drive** on the download itself.
It stays on the server to cut clips from either way (until the day's
sweep).
The same tools take stills: a video featured card's Image field has
**Frame at** (editors and up), which saves the frame at a typed time to
`/uploads/thumbnails/` (`grabFrame` in `server/src/clips.js`). It
downloads only that frame, outside the queue. A link's own `t=` (eg.
`?t=83`) fills in the time.
The same tools take stills (editors and up), each saving the frame at
a typed time to `/uploads/thumbnails/` (`grabFrame` in
`server/src/clips.js`, `POST /api/admin/video-frame`). It downloads only
that frame, outside the queue. A link's own `t=` (eg. `?t=83`) fills in
the time. **Frame at** is on:
- a video featured card's Image field (the front page, a region)
- a video content block's Image field (its still)
- the front page's Video still (the hero's featured video, migration 074)
and **Tools → Video thumbnails** (`AdminVideoFrames.tsx`) takes one from
any link, to download or copy its path into a field.
Clips queue and run one at a time. A finished clip is deleted from the
server once it's downloaded, unless **Save to library** is pressed first,