That code is for the media player. Could you, please, describe your actions step by step when you get the error and provide Dashboard and FTP access to check and help you?
We have patched the style function (line 1970) of etheme.js file to solve our problem. We noticed that style value is directly set in the “styleName” variable (background: #00000000) and not in “value” variable. Also we have added a check condition to detect these cases for remove value in “styleName” and put it in “value”.
// The style function
$.fn.style = function(styleName, value, priority) {
// DOM node
var node = this.get(0);
// Ensure we have a DOM node
if (typeof node == 'undefined') {
return;
}
// CSSStyleDeclaration
var style = this.get(0).style;
// Getter/Setter
if (typeof styleName != 'undefined') {
// Check if value is already in style
if (styleName.indexOf(':') > 0) {
var i = styleName.indexOf(':');
value = (typeof value != 'undefined') ? value : styleName.substring(i+1, styleName.length);
styleName = styleName.substring(0, i);
}
if (typeof value != 'undefined') {
// Set style property
priority = typeof priority != 'undefined' ? priority : '';
style.setProperty(styleName, value, priority);
} else {
// Get style property
return style.getPropertyValue(styleName);
}
} else {
// Get CSSStyleDeclaration
return style;
}
};
One standard license is valid only for 1 project. Running multiple projects on a single license is a copyright violation.
Support Stats
Registered Clients: 18,269
Topics Started: 33,274
Answer Replied: 167,067
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.ok
Our mission is to help Internet businesses and their customers interact in a way that mirrors real-world customer experience: personal, human, and fun.