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: 66 ☆ Superstar ☆
-
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
- 4.8K All Categories
- 6 New Feature Releases
- The Training Arcade®
- Arcades™
- 125 ✫ Announcements
- 9 ✪ Contests
- 34.1K eLearning Brothers® Products
- 33.6K Lectora®
- 31.6K Lectora Discussions
- 1.9K Lectora Feature Requests
- 71 Lectora User Groups
- 17 Asset Library
- 10 AssetLibrary Discussions
- 7 AssetLibrary Feature Requests
- 304 CenarioVR®
- 178 CenarioVR Discussions
- 126 CenarioVR Feature Requests
- 40 Rockstar Learning Platform®
- 28 Rockstar Learning Platform Discussions
- 12 Rockstar Learning Platform Feature Requests
- 4 Off-the-Shelf Course Library
- 3 Off-the-Shelf Course Library Discussions
- 1 Off-the-Shelf Course Library Feature Requests
- 114 CourseMill®
- 107 CourseMill Discussions
- 44 ReviewLink®
- 32 ReviewLink Discussions
- 12 ReviewLink Suggestions
- 2 The Training Arcade®
- 1 The Training Arcade Discussions
- 1 The Training Arcade Feature Requests
- 10 Additional Learning Products
- 2 Adobe®
- 4 Articulate®
- 2 Camtasia®
- Docebo®
- 1 iSpring®
- 1 Microsoft® PowerPoint®
- 932 All Things eLearning
- 5 Course Development Showcase
- 1 eLearning Brothers® Downloads
- 1 Compliance Training
- 11 eLearning Development
- eLearning Game Design
- 7 Instructional Design
- 545 Learning Management System (LMS) Integration
- 3 Mobile Learning
- 22 Visual Design
- 331 Web Accessibility
- 1.2K ♪ The Green Room
- 8 ♡ Community Feedback
- 7 Community Tips