simplify-scorm icon indicating copy to clipboard operation
simplify-scorm copied to clipboard

A little more example code would be useful.

Open trevski opened this issue 6 years ago • 2 comments

    window.API_1484_11.on("Terminate", function () {
        var simplifiedObject = window.API_1484_11.cmi.toJSON();
        alert(JSON.stringify(simplifiedObject));
    });

is working fine

however I can't seem to read in values from the LMS.

    window.API_1484_11.on("GetValue.cmi.learner_id", function (CMIElement, value) {
        value = '123';
    });

    window.API_1484_11.on("Initialize", function () {
        alert('initialize SCORM');
    });

I am getting the "initialize SCORM" alert OK but the learner_id is not being returned on terminate.

Obviously I am doing something stupid.

trevski avatar Sep 21 '18 08:09 trevski

There already is example code for initial values.

xob avatar Sep 21 '18 11:09 xob

i m new to scorm. i have scorm zip file. how i make it play in html and integrate the simplify-scorm? can you share the html file sample file with player and simplify-scorm integartion?

sijuthankachan avatar Apr 04 '20 17:04 sijuthankachan