FM_TogglePlayerIE8Compatibility is a FiLMS Module that allows you to toggle between IE=EmulateIE8 and IE=Edge for IE Compatibility Mode in FiLMS SCORM Player. This module's structure setting is specific to each structure and it defaults to IE=EmulateIE8. Any structure requiring IE=edge must be explicitly edited and saved in order to take effect.
Options:
There were existing issues when some 3rd party courses (especially HTML5 courses since features set out in the HTML5 spec are not supported in IE8 mode) are not running properly in IE browser. This is because the course player is restricted to IE8 Compatibility Mode. This issue doesn't affect Chrome, Firefox, Safari and Microsoft Edge since those browsers don't use IE Compatibility Mode in the first place.
Installation
Globally installation required
A new structure detail field called "IE Compatibility Mode" is created. It will be removed when the module is uninstalled.
Configuration
No module configuration required.
If there is a Document mode issue, the following message is displayed to the user:
The content you are trying to view is not supported in the current Document Mode of Internet Explorer. Change the
Document Mode to Internet Explorer 9 Standards and try to view the content again.
To change the Document Mode, press F12, click Document Mode: , and then select Internet Explorer 9 Standards.
Update ICOM SCORM 1.2 courses in FiLMS to false
UPDATE structure_details
SET value = 'false'
WHERE structure_id IN
(
/* Brain structures */
SELECT s.id
FROM `structures` AS s
LEFT JOIN launch_methods AS lm
ON lm.id = s.launch_method_id
WHERE lm.name LIKE 'ICOM SCORM%'
)
AND detail_field_id IN
(
SELECT id FROM `detail_fields`
WHERE name LIKE '%IE8 Comp%'
)
Insert ICOM SCORM 1.2 courses in FiLMS to false
INSERT INTO structure_details
SELECT (
SELECT id FROM `detail_fields`
WHERE name LIKE '%IE8 Comp%'
LIMIT 1
), s.id, 'false'
FROM `structures` AS s
LEFT JOIN launch_methods AS lm
ON lm.id = s.launch_method_id
WHERE lm.name LIKE 'ICOM SCORM%'
AND s.id NOT IN
(
SELECT structure_id
FROM structure_details
WHERE detail_field_id IN
(
SELECT id FROM `detail_fields`
WHERE name LIKE '%IE8 Comp%'
)
)