-
Bug
-
Resolution: Fixed
-
Minor
-
2.0.4, 2.1.2, 2.2
-
None
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
w43_
MDL-29980_m22_flowcss -
If any CSS rules are defined to specify MP3 Flow Player colours, the MP3 Flow Player will not appear at all in Chrome (and possibly other browsers). The master branch fixed a typo in filter/mediaplugin/styles.css which triggers this issue. The fix is dead simple (hence the lack of pull details - it's not worth the effort!):
lib/javascript-static.js, lines 1694-1698 currently read:
if (typeof(allrules[i].cssText) != 'undefined') {
|
rule = allrules[i].style.cssText;
|
} else if (typeof(allrules[i].style.cssText) != 'undefined') {
|
rule = allrules[i].style.cssText;
|
}
|
Change line 1695 (second line above) to read:
rule = allrules[i].cssText;
|
(remove the "style.") and all will be well with the world again (or at least with the MP3 Flow Player).
(sorry for the edits, the tracker's not playing nice with the block of code)