diff options
Diffstat (limited to 'dist/plyr.js')
-rw-r--r-- | dist/plyr.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/dist/plyr.js b/dist/plyr.js index bb91199b..db6510e7 100644 --- a/dist/plyr.js +++ b/dist/plyr.js @@ -77,7 +77,7 @@ var defaults = { // Sprite (for icons) loadSprite: true, iconPrefix: 'plyr', - iconUrl: 'https://cdn.plyr.io/3.0.11/plyr.svg', + iconUrl: 'https://cdn.plyr.io/3.1.0-beta.1/plyr.svg', // Blank video (used to prevent errors on source change) blankVideo: 'https://cdn.plyr.io/static/blank.mp4', @@ -1753,6 +1753,11 @@ var support = { return false; } + // Check directly if codecs specified + if (type.includes('codecs=')) { + return media.canPlayType(type).replace(/no/, ''); + } + // Type specific checks if (this.isVideo) { switch (type) { |