Skip to main content

Class: Caption

Represent a single video caption entry

Implements

  • CaptionProperties

Properties

duration

duration: number

caption duration in milliseconds

Implementation of

CaptionProperties.duration


segments

segments: CaptionSegment[]

caption duration in milliseconds

Implementation of

CaptionProperties.segments


start

start: number

caption start time in milliseconds

Implementation of

CaptionProperties.start


text

text: string

caption content

Implementation of

CaptionProperties.text

Accessors

end

get end(): number

transcript end time in milliseconds

Returns

number