Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h5p from lumi.education don't work - H5P.isEmpty is not a function #38

Open
dwbotsch opened this issue Nov 11, 2024 · 0 comments
Open

Comments

@dwbotsch
Copy link

After converting h5p from lumi education, they fail to work (I have a simple three question true/false) with:

connection.initialize called.
SCORM_API_wrapper.js:914 SCORM.API.find: Error finding API.
Find attempts: 0.
Find attempt limit: 500
SCORM_API_wrapper.js:914 SCORM.API.find: API found. Version: 1.2
SCORM_API_wrapper.js:914 API: [object Object]
SCORM_API_wrapper.js:914 SCORM.data.get('cmi.core.lesson_status') value: not attempted
SCORM_API_wrapper.js:914 SCORM.data.set('cmi.core.lesson_status') value: incomplete
questionset.js:89 Uncaught TypeError: H5P.isEmpty is not a function
at new H5P.QuestionSet (questionset.js:89:28)
at i.newRunnable (frame.bundle.js:3:110784)
at HTMLDivElement. (frame.bundle.js:3:101874)
at Function.each (frame.bundle.js:3:5393)
at init.each (frame.bundle.js:3:2175)
at i.init (frame.bundle.js:3:100922)
at HTMLDocument. (frame.bundle.js:3:130357)
at u (frame.bundle.js:3:7813)
at Object.fireWith [as resolveWith] (frame.bundle.js:3:8612)
at Function.ready (frame.bundle.js:3:3430)

Tested in both firefox and chrome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant