Skip to content

Commit

Permalink
Add workaround for lack of native text track support
Browse files Browse the repository at this point in the history
See this issue: videojs/video.js#2689
  • Loading branch information
MCGallaspy committed Mar 2, 2016
1 parent 6a56294 commit a2cc587
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion kalite/distributed/static/js/distributed/video/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,10 @@ var VideoPlayerView = ContentBaseView.extend({
if (player_id) {
var video_player_options = {
"controls": true,
"playbackRates": [0.5, 1, 1.25, 1.5, 2]
"playbackRates": [0.5, 1, 1.25, 1.5, 2],
"html5": {
nativeTextTracks: false
}
};
if( this.data_model.get("content_urls").thumbnail ) {
video_player_options['poster'] = this.data_model.get("content_urls").thumbnail;
Expand Down

0 comments on commit a2cc587

Please sign in to comment.