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
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
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 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) { 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) { } else if (this.type === 'vimeo' && this.captions.active) {
+2 -1
View File
@@ -3,10 +3,11 @@
// -------------------------------------------------------------- // --------------------------------------------------------------
.plyr__badge { .plyr__badge {
padding: 1px 4px; padding: 0 4px;
border-radius: 2px; border-radius: 2px;
background: @plyr-menu-color; background: @plyr-menu-color;
color: @plyr-menu-bg; color: @plyr-menu-bg;
font-size: @plyr-font-size-tiny; font-size: @plyr-font-size-tiny;
line-height: 1.5;
.plyr-font-smoothing(on); .plyr-font-smoothing(on);
} }