aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/captions.js
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2017-11-05 11:59:15 +1100
committerSam Potts <me@sampotts.me>2017-11-05 11:59:15 +1100
commite2d8bd2b73d7d3580fc432973ab44bd760a44de7 (patch)
tree2b1d022598696ff198f385178f6dbbf75855a63e /src/js/captions.js
parent1c693df00b44961674a35243f5172716a3735b71 (diff)
downloadplyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.tar.lz
plyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.tar.xz
plyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.zip
Captions language fix
Diffstat (limited to 'src/js/captions.js')
-rw-r--r--src/js/captions.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/js/captions.js b/src/js/captions.js
index c5b45b40..36a1775b 100644
--- a/src/js/captions.js
+++ b/src/js/captions.js
@@ -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) {