Video frame stills for featured cards; newsletter Pick from fix

- Image fields take frameFrom/frameWhen: "Frame at" saves a still from
  the row's YouTube or Facebook link to /uploads/thumbnails/
  (POST /api/admin/video-frame, grabFrame in clips.js). Used on video
  featured cards.
- clock/parseClock moved to src/lib/clock.ts, shared with Video clips.
- Newsletter: new drafts no longer store source 'events' (the Pick from
  select's blank choice), which showed as "events no longer exists";
  older drafts load it as blank.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Zaldimmar 2026-10-04 21:35:08 -05:00
parent 3b45944094
commit b8012c75e9
9 changed files with 172 additions and 25 deletions

View file

@ -14,6 +14,12 @@ 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.
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,
which puts it in the media library as an upload (usable as a featured