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 Nov 8, 2022
1 parent 319a358 commit 8f698c6
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 @@ -3216,6 +3216,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 8f698c6

Please sign in to comment.