Skip to content

Commit

Permalink
fix(HLS): Fix detection of WebVTT subtitles in HLS by extension (#4663)
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad authored and joeyparrish committed Nov 8, 2022
1 parent 44e4fd7 commit 6804c6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/hls/hls_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -3034,6 +3034,7 @@ shaka.hls.HlsParser.TEXT_EXTENSIONS_TO_MIME_TYPES_ = {
'm4f': 'application/mp4',
'cmft': 'application/mp4',
'vtt': 'text/vtt',
'webvtt': 'txt/vtt',
'ttml': 'application/ttml+xml',
};

Expand Down

0 comments on commit 6804c6a

Please sign in to comment.