Type Alias: CaptionsOptions
CaptionsOptions =
object
Defined in: captions/Captions.ts:13
Configuration passed to the captions runtime when binding to a video element.
Properties
autoEnable?
optionalautoEnable:boolean
Defined in: captions/Captions.ts:23
When false, caller must invoke Captions.enable manually.
captions?
optionalcaptions:Caption[] |null
Defined in: captions/Captions.ts:21
Initial caption track.
container?
optionalcontainer:HTMLDivElement
Defined in: captions/Captions.ts:17
Optional custom container to host the Konva stage.
debug?
optionaldebug:boolean
Defined in: captions/Captions.ts:25
Show debug bounding boxes around lines/blocks.
preset
preset:
StylePreset
Defined in: captions/Captions.ts:19
Initial preset controlling font, colors, animations.
video
video:
HTMLVideoElement
Defined in: captions/Captions.ts:15
Video element that should receive overlays.