diff options
Diffstat (limited to 'libretube-theme/static/modules/plyr/plyr.polyfilled.js')
-rw-r--r-- | libretube-theme/static/modules/plyr/plyr.polyfilled.js | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/libretube-theme/static/modules/plyr/plyr.polyfilled.js b/libretube-theme/static/modules/plyr/plyr.polyfilled.js index 35227c5..a46575e 100644 --- a/libretube-theme/static/modules/plyr/plyr.polyfilled.js +++ b/libretube-theme/static/modules/plyr/plyr.polyfilled.js @@ -8356,7 +8356,7 @@ typeof navigator === "object" && (function (global, factory) { var type = 'captions'; - var list = this.elements.settings.panels.captions.querySelector('[role="menu"]'); + var list = this.elements.settings.panels.captions.querySelector('[role="menucaptions"]'); var tracks = captions.getTracks.call(this); var toggle = Boolean(tracks.length); // Toggle the pane and tab @@ -8803,6 +8803,10 @@ typeof navigator === "object" && (function (global, factory) { pane.appendChild(createElement('div', { role: 'menu' + })); // Menu Captions + + pane.appendChild(createElement('div', { + role: 'menucaptions' })); inner.appendChild(pane); _this10.elements.settings.buttons[type] = menuItem; @@ -9453,7 +9457,7 @@ typeof navigator === "object" && (function (global, factory) { iconPrefix: 'plyr', iconUrl: '/theme/modules/plyr/plyr.svg', // Blank video (used to prevent errors on source change) - blankVideo: '/theme/modules/plyr/blank.mp4', + blankVideo: '/theme/modules/plyr/blank.webm', // Quality default quality: { default: 576, @@ -10472,16 +10476,15 @@ typeof navigator === "object" && (function (global, factory) { // L key player.loop = !player.loop; break; - - /* case 73: - this.setLoop('start'); - break; - case 76: - this.setLoop(); - break; - case 79: - this.setLoop('end'); - break; */ + // case 73: + // this.setLoop('start'); + // break; + // case 76: + // this.setLoop(); + // break; + // case 79: + // this.setLoop('end'); + // break; default: break; |