Suresh
Suresh

Reputation: 5987

SCORM 1.2 package can not able to communicate with LMS

Currently i'm working on a LMS system which we are designing to run a SCORM 1.2 package. I've no prior experience about this LMS+SCORM stuff.

I'm following this Stack Overflow post - http://goo.gl/Iplemq to build my LMS system. One JavaScript error I'm getting in my player.php file. Here is the screen shot from my chrome dev console.

enter image description here

Files which I'm using..

Any thought peoples!!!

Upvotes: 1

Views: 2335

Answers (1)

pipwerks
pipwerks

Reputation: 4581

None of your pastebin links includes a SCORM API. Calling getAPI() is useless if the SCORM API (window.API for SCORM 1.2) does not exist.

If you're planning to build SCORM support for an LMS, you need to create the API and make it available to the course. The SCORM docs explain all of this.

A simple example of a SCORM API is available on the late Claude Ostyn's site. You might be able to use it as a starting point. http://www.ostyn.com/standards/scorm/samples/scorm2004testwrapwrap.htm

This one might also be useful to you: http://www.ostyn.com/standards/scorm/samples/singleSCOminiRTEwrap.htm

Upvotes: 1

Related Questions