Update to SCORM Wrapper
Made a minor update: scorm.quit() was setting a value (cmi.exit) but not invoking scorm.save() (aka Commit()) prior to termination.
View the latest update on GitHub
Made a minor update: scorm.quit() was setting a value (cmi.exit) but not invoking scorm.save() (aka Commit()) prior to termination.
View the latest update on GitHub
The pipwerks SCORM Wrapper has been updated with a small patch for handling odd behavior in the Plateau LMS. Special thanks to Joe Venditti for the patch (and sorry for taking almost 2 years to add it to the codebase!). Get the latest version here.
The CaptivateController has been updated to fix the gotoSlideAndPlay and gotoSlideAndStop bugs.
The SCORM API wrapper (v1.1.7) has been updated to automatically set the initial course status and the exit status.
The point of my SCORM API wrapper is to make working with SCORM easier. These two new functions are intended to ensure you follow best practices with your SCORM code while reducing the amount of tedious code you will need to write for your course.
A summary of updates regarding the pipwerks JavaScript SCORM wrapper.
By popular demand, the SCORM API Wrapper for JavaScript has a new feature: the ability to specify what version of the SCORM API should be used.
Also, I converted the AS2 demonstration FLA to Flash 8 format and posted it as a separate ZIP file.
The pipwerks SCORM wrapper examples have been successfully tested in SumTotal TotalLMS 7.6. FYI, the examples’ imsmanifest.xml files required some modifications (the old manifests worked fine in the ADL test suites, but coughed a little when used in SumTotal TotalLMS 7.6). The JavaScript, ActionScript and HTML in the examples remain unchanged. If you’ve previously downloaded the examples, I suggest you download the updated versions to get the newer manifests. Of course, if you’re a pro at manifests (Aaron?), you could always make better ones… making the imsmanifest is my least favorite part of working with SCORM. As always, if you test these in your LMS, please let me know — even if it doesn’t work! Thanks 🙂
JavaScript SCORM_API_Wrapper.js now at v1.1.3. Includes important typo correction.
SCORM.as classes (AS2 & AS3) now at v1.01. Includes check for ExternalInterface availability and presence of required pipwerks JavaScript wrapper.
Two small but important edits.
Found a small bug when using the wrapper with Flash (AS2): functions that return string values (such as SCORM.data.get()
) were coming out ‘undefined’. (grr)
Explicitly typing the return value as a string seems to make Flash happy.