adlnet / SCORM-to-xAPI-Wrapper

APIWrapper.js file commonly used with SCORM with xAPI calls embedded
https://adlnet.gov/projects/scorm/
95 stars 39 forks source link

How can I use it in some course without APIwrapper.js? #8

Closed StarsHu closed 7 years ago

StarsHu commented 8 years ago

Some course is just a link, for example a video player, do not have APIwrapper.js in package.

jono-poltrack commented 7 years ago

Hi StarsHu. If you look at the APIWrapper.js file in the SCORM 2004 directory, this has been updated so that it only takes 3 simple changes to integrate/convert. You can put this in your own courses in initialize, terminate and setvalue. Look for "xapi" in the comments in that file and you'll see the integration points.

Also check out https://github.com/adlnet/Starting-from-SCORM-A-Developers-Guide

I hope this helps