Is adding an "Exit Senario" hot spot in HMTL5 correct when learner can close the browser?
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.
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 Community Member, Lectora® Accessibility Group (LAUG) Member, eLearning Brothers® Partner Posts: 121 ♦ Idol ♦
-
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
Categories
- 35.9K All Categories
- 109 ✫ Announcements
- 33.1K Lectora®
- 31.1K Lectora Discussions
- 28.9K Lectora Desktop
- 2K Lectora Online
- 2K Lectora Feature Requests
- 71 Lectora User Groups
- 36 Lectora Accessibility User Group (LAUG)
- 22 ELB Learning Content
- 22 ELB Learning Content Discussions
- 324 CenarioVR®
- 191 CenarioVR Discussions
- 133 CenarioVR Feature Requests
- 41 Rockstar Learning Platform®
- 38 Rockstar Learning Platform Discussions
- 108 CourseMill®
- 108 CourseMill Discussions
- 47 ReviewLink®
- 47 ReviewLink Discussions
- 7 The Training Arcade®
- 7 The Training Arcade Discussions
- 934 All Things eLearning
- 36 eLearning Development
- 546 Learning Management System (LMS) Integration
- 332 Web Accessibility
- 1.2K ♪ The Green Room
- 9 Additional Learning Products