-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
-
4.4.4, 4.5
This enhancement is to address a situation that several of our clients encounter when deploying SCORM packages, and which is articulated in this Moodle forum:
The user opens the package, walks away, comes back several hours later (without intervening Moodle or SCORM activity) and continues, and by then the Moodle session has timed out, so nothing is recorded back in Moodle... but it appears to the user that they've completed it.
The suggested solution is to leverage the existing "unstable connection" modal, so that closing out the modal forces a user back to the SCORM activity page. If session timeout has not yet occurred (because the communication failure is due to unstable internet connection), the learner can relaunch the SCORM; if timeout has occurred, the user will be directed to log in again.
Acceptance criteria
As a learner in a Moodle site, I will know this is done when:
- I have launched a SCORM package in one of the following ways:
- Standard window, in which the SCORM is embedded within the Moodle frame
- New window via Moodle SCORM setting, in which the SCORM is actually inside a 100% width/height iframe wrapped inside the player.php file.
- If communication between the SCORM package and Moodle fails—either because of unstable internet connection or a system timeout—I see a modal with the following message while in the launched SCORM package:
- "Due to an unstable internet connection or system timeout, learning progress is now at risk. To ensure your progress is saved, you should exit and relaunch this activity.”
- The options presented to me by the modal will depend on whether I have experienced multiple communication failures during my user session:
- If I am experiencing the first failure during my user session, the modal will display a choice of two buttons:
- Continue (I remain in package)
- Exit (I relaunch package or, if system timeout has already occurred, log in to the site again)
- If I am experiencing a second consecutive failure in my user session, the modal will only display an "Exit" button. When I close the modal in any way (clicking "Exit," clicking the close button, clicking outside the modal) I am immediately redirected to the SCORM activity view.php page, which will force me to re-enter the SCORM activity before proceeding; if timeout has occurred, I will be redirected to the login page.
- If I am experiencing the first failure during my user session, the modal will display a choice of two buttons: