Interface SccSubtitlePluginSettings

interface SccSubtitlePluginSettings {
    cueStyleParent?: HTMLElement;
    enableDefaultCueStyles?: boolean;
    verbose?: boolean;
}

Properties

cueStyleParent?: HTMLElement

The parent element to which the style tag containing the cue styling will be appended if enableDefaultCueStyles is set to true. Default is .

enableDefaultCueStyles?: boolean

Enables default cue colors as defined by https://www.w3.org/TR/webvtt1/#default-classes. Default is true.

verbose?: boolean

Enables verbose logging if enabled. Default is same as player settings.