new GoBrain.Pdk.Parsers.Subtitle.QbrickImageJson()
GoBrain.Pdk/src/parsers/subtitle/qbrick-image-json.js, line 1
Subtitle parser for the QbrickImageJson format.
Subtitle parser for the QbrickImageJson 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/qbrick-image-json.js, line 29Parses QbrickImageJson subtitle data into a sorted array of VTTCues.
-
Parses QbrickImageJson subtitle data into a sorted array of VTTCues.
Name Type Description dataString The data to parse.
Returns:
Type Description Array.<VTTCue>