Picture of Matt Leathes
Re: SCORM help?
by Matt Leathes - Thursday, 10 July 2014, 9:30 AM
 

If your API is SCORM 2004, that would explain the problem - there's no function called LMSGetValue in SCORM 2004 - it's just GetValue.

Adapt's SCORM code defaults to SCORM 1.2 - an explanation for why is given in the comments for SCOStart here. If you remove the line

scormWrapper.setVersion("1.2");

Then the code should correctly detect the 2004 API and use the correct functions for that API - however, please note that the SCORM 2004 tracking is completely untested.

Picture of Todd Routson
Re: SCORM help?
by Todd Routson - Thursday, 10 July 2014, 4:55 PM
 

Silly question: where is that line of code you're referring to above? Which file is it in?

Appreciate the help! ;)

Picture of Matt Leathes
Re: SCORM help?
by Matt Leathes - Thursday, 10 July 2014, 5:45 PM
 

ah, of course - the emails from the forums strip the links from text...!

it's here: https://github.com/moloko/adapt-contrib-spoor/blob/master/js/adapt-contrib-spoor.js