Is adding an "Exit Senario" hot spot in HMTL5 correct when learner can close the browser?

Valerie
Valerie Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 9 ☆ Roadie ☆
I have created and published a CenarioVR senario (HTML5) and placed a CLOSE hot spot in the last scene. I added the action "Exit Scenario" intended to close the browser when clicked. It does not work.

Is this a mute point since the browser window can be closed at any time?

I understand that when publishing for SCORM 1.2, the LMS controls the closing of a scene.

Also, when I publish the same senario as SCORM 1.2 and launch on my LMS, the CLOSE hot spot does not work.

Answers

  • CarlJFink
    CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 163 ♦ Idol ♦
    The Exit Scenario action works only sometimes, and only on some platforms. You're better off just having an info card saying "You are done. Close this now." (No, do NOT use those exact words.)
  • johnb
    johnb Community Member, Administrator, Rockstar Manager Posts: 135 eLearning ROCKSTAR Admin Team
    An HTML window cannot close itself, it is a security rule built into JavaScript. If you read the description of the Exit scenario Action, it states that "When hosted on CenarioVR" it will close the window. What a CVR scenario does is post a message to the parent window (which is CenarioVR when hosted on CenarioVR), and the the parent window closes the scenario window. in SCORM 1.2, the LMS's parent window closes the scenario when it receives the complete message, per the rules of SCORM 1.2. (in SCORM 2004, the LMS does not close the window, again, per the protocol of SCORM 2004)

    If you are publishing to HTML and want to close the window based on a click in the scenario, you can intercept the exit message and close the scenario window from the window you opened it with. All of the messages passed from a scenario to a parent window are described here: https://cenariovr.com/blog-posts/communicating-between-cenariovr-and-other-content.html

  • CarlJFink
    CarlJFink Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 163 ♦ Idol ♦
    And if you're using one of the LMS platforms that don't open courses in a separate window, you not only can't, you don't want to close the window.