Problem Description
I am new to SCORM and I found a library at http://pipwerks.com/downloads/
I tried using the sample code in SCORM Cloud, and it worked.
<!-- language: lang-js -->
//Using pipwerks namespace, SCORM 1.2
var success = pipwerks.SCORM.init();
if(success){
var status = pipwerks.SCORM.get("cmi.core.lesson_status");
if(status != "completed"){
success = pipwerks.SCORM.get("cmi.core.lesson_status", "completed");
if(success){
pipwerks.SCORM.quit();
}
}
}
The problem is `pipwerks.SCORM.init()` always returns false.
How can I resolve this problem?
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?