Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2, 2.3
-
Component/s: Filters
-
Environment:Linux and Solaris servers with apache and mysql
-
Testing Instructions:
-
Workaround:
-
Affected Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Fixed Branches:MOODLE_22_STABLE, MOODLE_23_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-30876_master -
Pull Master Diff URL:
Description
With the multimedia filter enabled and MP3 checked, if the YUI libraries are obtained from another domain (useexternalyui site setting enabled) the MP3 player is not shown
Reproduction steps:
- Enable the site setting 'useexternalyui'
- Enable the Multimedia filter and mark the 'filter_mediaplugin_enable_mp3' checkbox
- In any HTML editor click the Media Button and link to a MP3 file
- View the page with the HTML text displayed, the link is not replaced by the MP3 player
It throws a Javascript 'Security error" code: "1000' error (is trying to access the contents of another domain's stylesheet) and stops the Javascritp execution, therefore the link to the MP3 file is not replaced by the MP3 player.