Elearning with Scorm Package
Add SCORM package to make your course more interactable to learners.
Instruction to use this module.
- Change media directory ownership to odoo user or daemon user.
- Media directory is in "{custom addons path}/website_scorm_elearning/static/media".
- Or you can connect Odoo with Amazon S3 by adding credentials in the configuration. This will store the SCORM package in an S3 bucket, and you can retrieve the link.
Key Highlights
- Added new type (Scorm) for SCORM attachments.
- Added support to upload Scorm Packages to the Elearning courses.
Screenshots
Add configuration for Amazon S3 bucket by going to General Settings, saving the data, and testing the connection. This will connect Odoo with Amazon S3.
Upload SCORM Package to the course content.
Play SCORM File on eLearning Slide.
Intract with SCORM package.
Please log in to comment on this module
Subject: SCORM 1.2 content fails to launch — "Content launched outside of a supported LMS environment" (Odoo 19.0)
Hello,
I'm testing the website_scorm_elearning module on Odoo 19.0 and I'm unable to get a SCORM 1.2 package to launch correctly.
Error displayed:
Error: Content launched outside of a supported LMS environment.
Package details:
/website_scorm_elearning/static/media/scorm/NewId_.../scormcontent/index.html
Diagnosis performed:
Using Chrome DevTools console on the course page (top frame, no separate iframe context is visible for the SCORM content), I confirmed:
js
This shows that the SCORM 1.2 API adapter object (window.API) is never injected into the page hosting the course. As a result, the content (loaded directly from scormcontent/index.html, bypassing the driver in scormdriver/indexAPI.html) cannot find any LMS API and throws the "outside of a supported LMS environment" error before it can initialize.
Console warnings confirming this:
Warning: Course was unable to find the LMS API for RecordMatchingInteraction... Warning: Course was unable to find the LMS API for SetScore... Uncaught Error: Content launched outside of a supported LMS enviroment. at __preventLoad (index.html:84:17)Question:
Is this a known issue with Odoo 19.0 compatibility, or is there a configuration step I'm missing to make the module inject the SCORM API correctly? I'd appreciate guidance or a fix, since the "File Path" field isn't editable from the UI.
Happy to share the test package or a screen recording if useful.
Thank you for your support.
Best regards,
Cyril Kharoua
There are no comments yet!