aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/js/plyr.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/js/plyr.js b/src/js/plyr.js
index b602f0ad..6fee2bf0 100644
--- a/src/js/plyr.js
+++ b/src/js/plyr.js
@@ -816,8 +816,9 @@
// Get icon URL
function _getIconUrl() {
return {
- url: config.iconUrl,
- absolute: config.iconUrl.indexOf("http") === 0 || plyr.browser.isIE
+ url: config.iconUrl,
+ // If you're using svg4everybody you don't need absolute paths
+ absolute: config.iconUrl.indexOf("http") === 0 || (plyr.browser.isIE && !window.svg4everybody)
};
}