No description
Find a file
Zaldimmar 8c26ec4906 Add a featured video mode to the front page hero
A fourth hero mode beside brand, photos and livestream: a recorded
video next to the words, under a "Featured video · <title>" badge.
Unlike the livestream it never autoplays: an embed waits for play,
and a file shows the browser's own player with preload="metadata".

video_url takes a YouTube, Vimeo or Facebook link (turned into an
embed, as the livestream's is) or a video file: a filename in
public/front-page/, a /path, or an https URL ending in .mp4, .webm,
.m4v, .mov or .ogv. Anything else that can't be framed still gets a
"Watch the video" button. Files follow the embeds' https-only rule.

Its own video_url and video_title columns rather than the
livestream's, so both can be set up ahead of time and the mode
switches between them. Migration 024 rebuilds front_page for the
wider hero_mode CHECK; its children, keys and touch trigger survive.

embeds.ts gains an autoplay switch shared by both modes, and
videoSource() to tell a file from an embed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-09-26 17:55:51 -05:00
server Add a featured video mode to the front page hero 2026-09-26 17:55:51 -05:00
src Add a featured video mode to the front page hero 2026-09-26 17:55:51 -05:00
.gitignore v1.0 - initial version 2026-09-25 02:20:07 -05:00
CLAUDE.md Consolidate migrations 001–023 into one baseline schema 2026-09-26 17:34:23 -05:00
index.html v1.2 - added react router 2026-09-25 02:34:15 -05:00
package.json v1.1 - added navigation 2026-09-25 02:31:56 -05:00
pnpm-lock.yaml v1.2 - added react router 2026-09-25 02:34:15 -05:00
README.md Add README with test line 2026-09-25 03:06:55 -05:00
site.json v1.0 - initial version 2026-09-25 02:20:07 -05:00
tsconfig.json Revert the implicit-any typing of src/ 2026-09-26 15:32:28 -05:00
vite.config.ts v1.5 - history and timeline as well as many datastructure updates added, polished, fixes 2026-09-25 02:38:51 -05:00

Test line added by Claude Code.