diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/js/config/defaults.js | 2 | ||||
-rw-r--r-- | src/js/fullscreen.js | 2 | ||||
-rw-r--r-- | src/js/plyr.js | 2 | ||||
-rw-r--r-- | src/js/plyr.polyfilled.js | 2 | ||||
-rw-r--r-- | src/js/utils/is.js | 10 |
5 files changed, 10 insertions, 8 deletions
diff --git a/src/js/config/defaults.js b/src/js/config/defaults.js index 74083e53..7a73c318 100644 --- a/src/js/config/defaults.js +++ b/src/js/config/defaults.js @@ -61,7 +61,7 @@ const defaults = { // Sprite (for icons) loadSprite: true, iconPrefix: 'plyr', - iconUrl: 'https://cdn.plyr.io/3.6.3/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.6.4/plyr.svg', // Blank video (used to prevent errors on source change) blankVideo: 'https://cdn.plyr.io/static/blank.mp4', diff --git a/src/js/fullscreen.js b/src/js/fullscreen.js index 7a7f21a9..20e958fc 100644 --- a/src/js/fullscreen.js +++ b/src/js/fullscreen.js @@ -57,6 +57,8 @@ class Fullscreen { // Update the UI this.update(); + + // this.toggle = this.toggle.bind(this); } // Determine if native supported diff --git a/src/js/plyr.js b/src/js/plyr.js index e67e29d4..b40f5c5a 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr -// plyr.js v3.6.3 +// plyr.js v3.6.4 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ========================================================================== diff --git a/src/js/plyr.polyfilled.js b/src/js/plyr.polyfilled.js index 79a58a31..f8f613e7 100644 --- a/src/js/plyr.polyfilled.js +++ b/src/js/plyr.polyfilled.js @@ -1,6 +1,6 @@ // ========================================================================== // Plyr Polyfilled Build -// plyr.js v3.6.3 +// plyr.js v3.6.4 // https://github.com/sampotts/plyr // License: The MIT License (MIT) // ========================================================================== diff --git a/src/js/utils/is.js b/src/js/utils/is.js index 5a60da06..28f0c1a4 100644 --- a/src/js/utils/is.js +++ b/src/js/utils/is.js @@ -21,11 +21,11 @@ const isTrack = (input) => instanceOf(input, TextTrack) || (!isNullOrUndefined(i const isPromise = (input) => instanceOf(input, Promise) && isFunction(input.then); const isElement = (input) => - input !== null && - (typeof input === "object") && - (input.nodeType === 1) && - (typeof input.style === "object") && - (typeof input.ownerDocument === "object"); + input !== null && + typeof input === 'object' && + input.nodeType === 1 && + typeof input.style === 'object' && + typeof input.ownerDocument === 'object'; const isEmpty = (input) => isNullOrUndefined(input) || |