Hello everyone.--I'm wondering if someone could help me with the very basics of setting up the Pipwerk's SCORM wrapper?I'm a website designer and I've recently been asked to wrap one of my sites with SCROM code so it can be used with an LMS (in this case, SCORM Cloud). I like to code everything by hand without using authoring tools and so I'd really like to be able to implement a simple SCORM wrapper myself and understand it.What's the leanest way of getting started? Any advice would be greatly appreciated.Here's what I've done so far:
- Created an "imsmanifest.xml" - which is valid according to SCORM Cloud.
- Attached Philip Hutchison's SCORM wrapper v1.1.7 to the head of the page.
- Created another js file called "scorm_functions.js" and attached it to the head also.
- I'm using jQuery too.
I want to connect to the LMS and popup the name of the learner - a very simple beginning that I can hopefully build from. Here's my score_functions.js code to initialise the SCORM wrapper and alert the learner's name:$(document).ready(function () {
var scorm_wrapper = pipwerks.SCORM;
scorm_wrapper.init();
var name = scorm_wrapper.get('cmi.core.student_name');
alert("Hello " + name + "!");
});Once I've uploaded this project to SCORM Cloud, I run it. It tells me "Hello null!". If I check the console, it lets me know, "SCORM.data.get(cmi.core.student_name) failed: API connection is inactive".I've searched around for some basic fundamentals on this before I move onto anything more complex - but I'm stuck!Let me know if you can help me out.Thanks.
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elearning-technology-and-development+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/elearning-technology-and-development.
To view this discussion on the web visit https://groups.google.com/d/msgid/elearning-technology-and-development/c7a688dc-f3ba-4c6c-859d-84876c99f253%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.