Normalize timed cue tracks from jsmediatags ID3 SYLT or WebM WEBVTT results into a shared shape for captions / lipsync / events.
- Source:
Members
(static, constant) findCaptionsTrack
Prefer captions descriptor, then transcription/lyrics content types (ID3 fallbacks).
- Source:
(static, constant) getTimedCueTracks
- Source:
Type Definitions
TimedCue
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
text |
string
|
||
timeStamp |
number
|
||
end |
number
|
<optional> |
- Source:
Type:
-
Object
TimedCueTrack
Properties:
| Name | Type | Attributes | Description |
|---|---|---|---|
descriptor |
string
|
shortText / track name (captions, lipsync, events, …) |
|
contentType |
string
|
<optional> |
ID3 content type or WebM kind (lowercase) |
language |
string
|
<optional> |
|
synchronisedText |
Array.<TimedCue>
|
- Source:
Type:
-
Object