aboutsummaryrefslogtreecommitdiffstats
path: root/src/js
diff options
context:
space:
mode:
authorBrandon Pereira <brandonp@criticalmass.com>2017-05-01 16:53:54 -0600
committerBrandon Pereira <brandonp@criticalmass.com>2017-05-01 16:53:54 -0600
commitd27a0b38558ac4bf81eeaef8af492fa3969c84ac (patch)
tree7665f60eb1e87fd613ee086f345278134c7177f3 /src/js
parenta575aa25acfa78041e46747786e84e48b83bf9fe (diff)
downloadplyr-d27a0b38558ac4bf81eeaef8af492fa3969c84ac.tar.lz
plyr-d27a0b38558ac4bf81eeaef8af492fa3969c84ac.tar.xz
plyr-d27a0b38558ac4bf81eeaef8af492fa3969c84ac.zip
updated to check for global namespace
Diffstat (limited to 'src/js')
-rw-r--r--src/js/plyr.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index 5c5ae28e..1bea40f9 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -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
};
}