Skip to content

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

@dwbotsch

Description

@dwbotsch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions