polite-media demos
Run pnpm build and pnpm fixtures first, then serve the repo root.
Media here is synthetic, generated by scripts/make-fixtures.sh.
- hero: reveal on a genuinely presented frame
-
interaction: opting out of the default, to protect LCP
- until: hold a hero behind a splash screen or a dialog
- buffered: wait for the whole clip, not just the start
- grid: arbitration and hysteresis, the hard case
- feed: one video at a time everywhere, buffered ahead
-
art-directed poster: cut versus crossfade, side by side
- layering: the optional stacking stylesheet
-
poster alt: a revealed poster keeps its text alternative
- sizes: one video, four boxes, no imposed geometry
- fallback: a broken source falling through
- images: reveal on decode, and the eager guard
- warming: fetch the next page's hero before the click
-
reveal failsafe: a marked image nothing manages
-
without scripting: marked images stay visible with JS off
-
rVFC spike:
playing against the first
presented frame