From a575aa25acfa78041e46747786e84e48b83bf9fe Mon Sep 17 00:00:00 2001 From: Brandon Pereira Date: Mon, 1 May 2017 15:50:54 -0600 Subject: fix for svg4everybody conflicting with plyr --- src/js/plyr.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 }; } -- cgit v1.2.3