Skip to main content

Word

Word defines the timing for one word inside a subtitle caption.

interface Word {
start: number;
end: number;
text: string;
}
PropertyRequiredNotes
startYesWord start time in seconds.
endYesWord end time in seconds.
textYesWord text.

Word timings drive the word-timed subtitle animations (one-word, karaoke, highlight, progressive, fill, pop, bounce, fade, typewriter, slide). Words are optional on a caption — when omitted, timings are auto-distributed from the caption text.

Used By