FM_TogglePlayerIE8CompatibilityMode

Overview

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:

  • IE=EmulateIE8
    • Forces IE to emulate based on IE8 standards
    • All existing courses built by ICOM require IE8 Compatibility
  • IE=edge
    • Tells IE to use the latest version of IE rendering engine
    • This will help to avoid some "compatibility" behaviours

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 & Configuration

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.

Usage

  1. View the affected course's structure
  2. Under Additional Details, set "IE Compatibility Mode" to either of the following:
    1. true - forces IE to emulate IE8 (IE=EmulateIE8)
    2. false - forces IE to emulate at IE=edge (this will fix the issue outlined in Overview)
  3. Click Save
  4. Clear the browser cache/cookies
  5. Test the course

Warning message

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.

SQL

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%'

)

)