updated to check for global namespace
This commit is contained in:
4
dist/plyr.js
vendored
4
dist/plyr.js
vendored
File diff suppressed because one or more lines are too long
@ -49,7 +49,6 @@
|
|||||||
hideControls: true,
|
hideControls: true,
|
||||||
showPosterOnEnd: false,
|
showPosterOnEnd: false,
|
||||||
disableContextMenu: true,
|
disableContextMenu: true,
|
||||||
svg4everybodyFix: false,
|
|
||||||
keyboardShorcuts: {
|
keyboardShorcuts: {
|
||||||
focused: true,
|
focused: true,
|
||||||
global: false
|
global: false
|
||||||
@ -749,7 +748,7 @@
|
|||||||
function _getIconUrl() {
|
function _getIconUrl() {
|
||||||
return {
|
return {
|
||||||
url: config.iconUrl,
|
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
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user