Function createSubtitlesFromTimespans

  • createSubtitlesFromTimespans - Create Subtitles for all timespans that are of subtitle type.

    Parameters

    • timespans: Timespan[]

      the Timespan[] that should be converted into Subtitle[]

    Returns Subtitle[]