I'm trying to use scorm-again but without setting an lmsCommitUrl.
What I'm trying to do is simply store the CMI data in localStorage and not Ajax the data to a server.
However, what's happening is calls to Commit/LMSCommit return false unless there is an lmsCommitUrl specified.
Is there any way to have calls to Commit/LMSCommit return true if lmsCommitUrl is null/false/undefined?
Furthermore, is it possible to have work like such
`window.API_1484_11.on('Commit', function(cmi) {
});`
So that the cmi data is passed on Commit/LMSCommit. Currently, it passes nothing.
I'm trying to use scorm-again but without setting an lmsCommitUrl.
What I'm trying to do is simply store the CMI data in localStorage and not Ajax the data to a server. However, what's happening is calls to Commit/LMSCommit return false unless there is an lmsCommitUrl specified.
Is there any way to have calls to Commit/LMSCommit return true if lmsCommitUrl is null/false/undefined? Furthermore, is it possible to have work like such `window.API_1484_11.on('Commit', function(cmi) {
});`
So that the cmi data is passed on Commit/LMSCommit. Currently, it passes nothing.