fix for svg4everybody conflicting with plyr

This commit is contained in:
Brandon Pereira
2017-05-01 15:50:54 -06:00
parent 4957e4d80c
commit a575aa25ac
3 changed files with 5 additions and 4 deletions

View File

@ -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
};
}