diff options
author | Brandon Pereira <brandonp@criticalmass.com> | 2017-05-01 15:50:54 -0600 |
---|---|---|
committer | Brandon Pereira <brandonp@criticalmass.com> | 2017-05-01 15:50:54 -0600 |
commit | a575aa25acfa78041e46747786e84e48b83bf9fe (patch) | |
tree | 1d7c92e7ed10e165f7fbb50d9c5c56677782a62f /src | |
parent | 4957e4d80c833bbfa915c0c20d3d79245221b6f6 (diff) | |
download | plyr-a575aa25acfa78041e46747786e84e48b83bf9fe.tar.lz plyr-a575aa25acfa78041e46747786e84e48b83bf9fe.tar.xz plyr-a575aa25acfa78041e46747786e84e48b83bf9fe.zip |
fix for svg4everybody conflicting with plyr
Diffstat (limited to 'src')
-rw-r--r-- | src/js/plyr.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js index d86a2ecb..5c5ae28e 100644 --- a/src/js/plyr.js +++ b/src/js/plyr.js @@ -49,6 +49,7 @@ hideControls: true, showPosterOnEnd: false, disableContextMenu: true, + svg4everybodyFix: false, keyboardShorcuts: { focused: true, global: false @@ -748,7 +749,7 @@ function _getIconUrl() { return { url: config.iconUrl, - absolute: (config.iconUrl.indexOf("http") === 0) || plyr.browser.isIE + absolute: (config.iconUrl.indexOf("http") === 0) || (plyr.browser.isIE && !config.svg4everybodyFix) // If you're using svg4everybody you don't need absolute paths }; } |