limelight.export.subtitles
¶
CUE_EVENTS = (EventName.NARRATE, EventName.TITLE)
module-attribute
¶
CUE_MS_FALLBACK = 4500
module-attribute
¶
subtitles_export
¶
A function that builds the export for the subtitle track.
Returns:
-
TextExport–The export that writes the WebVTT file.
vtt_render
¶
A function that renders the narration events as a WebVTT track.
Parameters:
-
events(list[Event]) –The recorded events of the run.
Returns:
-
str–The subtitle track.