Creates an instance of the plugin.
The current player.
Optional
verbose: booleanWhether to log events or not.
Optional
config: ImscConfigurationIMSC specific configuration values.
Whether to only display regions where itts:forcedDisplay has been set to true.
Whether to enable roll-up captions as specified in CEA-708.
Readonly
nameStatic
NameReturns the subtitle that is currently set as active in the plugin.
Returns the ID of the subtitle that is currently set as active in the plugin.
Returns an array of all subtitles that have been loaded into the plugin.
Property that states whether this plugin considers itself ready for continued playback based on internal logic.
Triggers internal event of type PlayerInternalEventType.LoadedChanged
if property value was changed.
Property that states whether this plugin considers itself muted based on internal logic.
Triggers internal event of type PlayerInternalEventType.MutedChanged
if property value was changed.
Returns the original parent that now contains the dynamically generated element that wraps the video and subtitles.
Property describing the plugin name and version.
Loads the plugin with the specified TTML files.
The TTML files to load.
Sets the active subtitle to the one matching the specified ID.
The ID of the subtitle to make active.
IMSC Subtitle Plugin
This plugin is used to provide support for IMSC subtitles.
How to use
Known limitations
Currently only supports rendering one ISMC subtitle file at a time.
Unsupported IMSC features
tts:fontShear
is unsupported. We do supporttts:shear
.tts:rubyAlign
only support values "center" or "spaceAround".Deprecated
Use TimedTextPlugin instead. See migration guide