diff options
author | Sam Potts <me@sampotts.me> | 2017-11-05 11:59:15 +1100 |
---|---|---|
committer | Sam Potts <me@sampotts.me> | 2017-11-05 11:59:15 +1100 |
commit | e2d8bd2b73d7d3580fc432973ab44bd760a44de7 (patch) | |
tree | 2b1d022598696ff198f385178f6dbbf75855a63e /src | |
parent | 1c693df00b44961674a35243f5172716a3735b71 (diff) | |
download | plyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.tar.lz plyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.tar.xz plyr-e2d8bd2b73d7d3580fc432973ab44bd760a44de7.zip |
Captions language fix
Diffstat (limited to 'src')
-rw-r--r-- | src/js/captions.js | 2 | ||||
-rw-r--r-- | src/less/components/badges.less | 3 |
2 files changed, 3 insertions, 2 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) { diff --git a/src/less/components/badges.less b/src/less/components/badges.less index 398cb56d..94035e9b 100644 --- a/src/less/components/badges.less +++ b/src/less/components/badges.less @@ -3,10 +3,11 @@ // -------------------------------------------------------------- .plyr__badge { - padding: 1px 4px; + padding: 0 4px; border-radius: 2px; background: @plyr-menu-color; color: @plyr-menu-bg; font-size: @plyr-font-size-tiny; + line-height: 1.5; .plyr-font-smoothing(on); } |