MontagePlayer
Plays a list of video clips and voice notes in order, between title cards, with a caption naming each contributor and any note they wrote.
MontagePlayer
MontagePlayer plays a group's clips and voice notes as one piece, opening on a cover the recipient taps. The host owns the clock and hands down the index, whether it plays and the progress. A clip with no file plays as a card for its duration, so the host clock must keep running for it. A note clips at four lines under its caption, so the host keeps notes short. The stage is dark in every theme and the controls under it take the host's surface, so the player needs no frame from the host.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-color-alpha-black-40--augds-color-alpha-black-60--augds-color-alpha-white-30--augds-color-neutral-zinc-100--augds-color-neutral-zinc-200--augds-color-neutral-zinc-300--augds-color-neutral-zinc-50--augds-color-neutral-zinc-900--augds-foreground-secondary--augds-radius-primitive-16
Source
src/components/ui/montage-player/montage-player.tsx