Skip to content

Commit

Permalink
Register WebVTT parser with codecs=vtt
Browse files Browse the repository at this point in the history
Related to issue #480

Change-Id: I0ef6d479e496ba45e6c4f984e8f7dc5e218c5175
  • Loading branch information
joeyparrish committed Sep 1, 2016
1 parent a8b012b commit 20ff6e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/media/vtt_text_parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,3 +199,5 @@ shaka.media.VttTextParser.parseTime_ = function(parser) {
};

shaka.media.TextEngine.registerParser('text/vtt', shaka.media.VttTextParser);
shaka.media.TextEngine.registerParser('text/vtt; codecs="vtt"',
shaka.media.VttTextParser);

0 comments on commit 20ff6e8

Please sign in to comment.