Captions language fix
This commit is contained in:
parent
1c693df00b
commit
e2d8bd2b73
2
dist/plyr.css
vendored
2
dist/plyr.css
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.js
vendored
2
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
2
dist/plyr.js.map
vendored
2
dist/plyr.js.map
vendored
File diff suppressed because one or more lines are too long
@ -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) {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user