diff options
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); } |