updated to check for global namespace

This commit is contained in:
Brandon Pereira
2017-05-01 16:53:54 -06:00
parent a575aa25ac
commit d27a0b3855
2 changed files with 3 additions and 4 deletions

4
dist/plyr.js vendored

File diff suppressed because one or more lines are too long

View File

@ -49,7 +49,6 @@
hideControls: true,
showPosterOnEnd: false,
disableContextMenu: true,
svg4everybodyFix: false,
keyboardShorcuts: {
focused: true,
global: false
@ -749,7 +748,7 @@
function _getIconUrl() {
return {
url: config.iconUrl,
absolute: (config.iconUrl.indexOf("http") === 0) || (plyr.browser.isIE && !config.svg4everybodyFix) // If you're using svg4everybody you don't need absolute paths
absolute: (config.iconUrl.indexOf("http") === 0) || (plyr.browser.isIE && !window.svg4everybody) // If you're using svg4everybody you don't need absolute paths
};
}