new GoBrain.Pdk.Parsers.Subtitle.SMI()
GoBrain.Pdk/src/parsers/subtitle/smi.js, line 1
Subtitle parser for the SMI/SAMI format.
Subtitle parser for the SMI/SAMI format.
Properties:
| Name | Type | Description |
|---|---|---|
Utils |
GoBrain.Pdk.Parsers.Subtitle.Base~Utils |
Extends
Methods
-
Name Type Description startNumber Cue start time.
endNumber Cue end time.
textNumber Cue text.
Returns:
Type Description VTTCue -
parse(data){Array.<VTTCue>}
GoBrain.Pdk/src/parsers/subtitle/smi.js, line 19Parses SMI/SAMI subtitle data into a sorted array of VTTCues.
-
Parses SMI/SAMI subtitle data into a sorted array of VTTCues.
Name Type Description dataString The data to parse.
Returns:
Type Description Array.<VTTCue>