Captions language fix

This commit is contained in:
Sam Potts
2017-11-05 11:59:15 +11:00
parent 1c693df00b
commit e2d8bd2b73
5 changed files with 6 additions and 5 deletions

View File

@ -127,7 +127,7 @@ const captions = {
// If we change the active track while a cue is already displayed we need to update it
if (this.captions.currentTrack.activeCues && this.captions.currentTrack.activeCues.length > 0) {
controls.setCue.call(this, this.captions.currentTrack);
captions.setCue.call(this, this.captions.currentTrack);
}
}
} else if (this.type === 'vimeo' && this.captions.active) {