Methods
-
textStyle( textStyle )
-
Description
Set the textStyle for the subtitles layer
Parameters
Name Type Description textStyle
TextStyle Details
-
encodeText( text )
-
Description
Used within getOpenSourceString of TextSource, this function overwrites the default encoding behaviour Subtitle file names require a different encoding than texts
Parameters
Name Type Description text
Examples
encodeText('foo/bar'); // -> foo:bar
Details