Hello eLearning Tech group.
First, I would like to thank Phillip for his SCORM wrapper and documentation. If it wasn't for his info I would never have the courage to code my own SCORM package.
On that note, I am somewhat of a newbie to JavaScript and I am having a heck of a time creating a very simple SCORM package. My agency basically uses a regular web site structure for their eLearning.
The student is given a completion the moment they launch the package and there are no tests or scoring.
The ONLY thing I need from the pipwerks wrapper is to send a "completed" value to our Saba LMS and have the tracking data feature. So that the SCORM package will ask the student if they want to start on the page they were at when they closed the browser.
I am utilizing frames, here is the diced up code I am using.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My basic SCORM wrapper</title>
<script type="text/javascript" src="SCORM_API_wrapper.js"></script>
<script type="text/javascript">
var scorm = pipwerks.SCORM; //Shortcut
var lmsConnected = false;
function initCourse(){
lmsConnected = scorm.init();
if(lmsConnected){
var success = scorm.set("cmi.core.lesson_status", "completed");
if(success){
alert("ok its complete");
} else {
alert("Error: Course could not be set to complete!");
}
} else {
alert("No LMS dude!");
}
}
var unloaded = false;
function unloadHandler(){
if(!unloaded){
scorm.save();
scorm.quit();
unloaded = true;
}
}
</script>
</head>
<frameset rows="60,*" onload="initCourse()" onunload="unloadHandler" onbeforeunload="unloadHandler" noresize border="0" frameborder="0">
<frameset cols="*,300" noresize border="0" frameborder="0">
<frame name="moduleBanner" scrolling="no" target="moduleContent" src="banner.htm" noresize />
<frame name="moduleSearch" scrolling="no" target="moduleContent" src="search.html" />
</frameset>
<frame name="moduleContent" src="ei_00.htm" />
<noframes>
your browser does not support frames.
</noframes>
</frameset>
</html>
The "ei_00.htm" is the first page of my SCORM package and it has global navigation to every page (usually around 120 pages for each module) contained within that frame.
The Saba SCORM player is giving the alert("Error: Course could not be set to complete!")
What am I missing to send the completed value? And how to I implement the bookmarking feature?
Any help from the experts for my newbie self is greatly appreciated. I'm definitely having a difficult time with just these simple features.
--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/7nCyR2vhlVcJ.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
Hi Rob
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/tYsktyJTJ8kJ.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/tEyH5MifpYsJ.
To post to this group, send email to elearning-technolo...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and...@googlegroups.com.
Hi Phillip
I am brand new to all of this, so forgive me if it's a silly question. I've heard about your SCORM wraper and was wandering if it can help me in the following situation:
I have done my first animation in Adobe Edge, that generates the files in HTML5. Now I would like to add it in the middle of a content page, inside a lesson, on Moodle. The problem is that is not an easy way to do it (as it used to be in flash). I researched and didn't find any way to go...
Should I convert the HTLM5 files into a SCORM object? Is that the only way to go? How the wrapper can help me?
Thank you very much for any tip!
Patricia
Thanks, guys!
take care,jpc
Hi Rob
Hi Rob
To post to this group, send email to elearning-technology-and-developm...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/tYsktyJTJ8kJ.
To post to this group, send email to elearning-technology-and-developm...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
To view this discussion on the web visit https://groups.google.com/d/msg/elearning-technology-and-development/-/tEyH5MifpYsJ.--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
--
You received this message because you are subscribed to the Google Groups "eLearning Technology and Development" group.
To post to this group, send email to elearning-technology-and-devel...@googlegroups.com.
To unsubscribe from this group, send email to elearning-technology-and-development+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/elearning-technology-and-development?hl=en.
--
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...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.