reelcn
Social

Social

Captions: Karaoke

Captions that fill in word by word as they are spoken, and dim the words still to come.

Install

Usage

<CaptionsKaraoke captions={captions} />

Props

NameTypeDefaultDescription
style?CSSProperties
className?string
captionsCaption[]Word-level captions, as `@remotion/captions` defines them. `pnpm reelcn-transcribe` writes this shape.
size?numberFont size in design units; long pages shrink from here.
color?string
pageMs?numberHow much speech goes on one page, in milliseconds. Lower means fewer words at a time.
maxWords?numberHard cap on words per page; long pages are split.
emphasize?string[]Words painted in the emphasis color. Case and punctuation are ignored.
position?"auto" | "top" | "bottom" | "middle"`auto` sits above the platform UI in portrait and in the lower third elsewhere.
activeColor?string
emphasisColor?string
background?string

Use

  • Lyric videos and sing-along clips
  • Tutorials where viewers follow along word by word

Dependencies

Source

registry/items/captions-karaoke.tsx
/**
 * @title Captions: Karaoke
 * @category social
 * @description Captions that fill in word by word as they are spoken, and dim the words still to come.
 * @duration data-driven
 * @preset captions
 * @use Lyric videos and sing-along clips
 * @use Tutorials where viewers follow along word by word
 * @tags captions, karaoke, lyrics
 * @example
 * <CaptionsKaraoke captions={captions} />
 */
import { Captions, type CaptionsProps } from "./captions";

export type CaptionsKaraokeProps = Omit<CaptionsProps, "variant">;

export function CaptionsKaraoke(props: CaptionsKaraokeProps) {
  return <Captions {...props} variant="karaoke" />;
}

Related