Restored “Ad” in label
This commit is contained in:
@ -179,6 +179,7 @@ const defaults = {
|
||||
reset: 'Reset',
|
||||
none: 'None',
|
||||
disabled: 'Disabled',
|
||||
advertisment: 'Ad',
|
||||
},
|
||||
|
||||
// URLs
|
||||
|
@ -155,7 +155,8 @@ class Ads {
|
||||
|
||||
const update = () => {
|
||||
const time = utils.formatTime(this.manager.getRemainingTime());
|
||||
this.elements.container.setAttribute('data-badge-text', time);
|
||||
const label = `${this.player.config.i18n.advertisment} - ${time}`;
|
||||
this.elements.container.setAttribute('data-badge-text', label);
|
||||
};
|
||||
|
||||
this.countdownTimer = window.setInterval(update, 100);
|
||||
|
@ -1,6 +1,6 @@
|
||||
// ==========================================================================
|
||||
// Plyr
|
||||
// plyr.js v3.0.0-beta.6
|
||||
// plyr.js v3.0.0-beta.7
|
||||
// https://github.com/sampotts/plyr
|
||||
// License: The MIT License (MIT)
|
||||
// ==========================================================================
|
||||
|
Reference in New Issue
Block a user