You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inspired by APIWrapper.js, which was a demo file created by the ADL and Concurrent Technologies Corporation.
8
12
9
13
The SCORM.API.find() and SCORM.API.get() functions are based on ADL code, which was modified by Mike Rustici (http://www.scorm.com), then further modified by Philip Hutchison.
10
14
11
-
WARNING: Use at your own risk! This class is provided as-is with no implied warranties or guarantees.
12
-
13
-
----------
15
+
WARNING: Use at your own risk! These files are provided as-is with no implied warranties or guarantees.
14
16
15
-
Some background:
17
+
##Background
16
18
17
19
These wrappers are intended to make your life easier so you don't need to be a SCORM expert to add SCORM support to your e-learning course.
18
20
19
21
The SCORM API wrappers are an abstraction layer that makes adding SCORM code to your course a much simpler, less confusing task. They provide simple logic and error-checking for your course's SCORM code, and include some auto-handling, such as setting cmi.exit (aka cmi.core.exit) when exiting a course.
20
22
21
-
These wrappers have gone largely unedited since 2008. I'm hoping that placing them on GitHub will spur myself and others to make improvements.
22
-
23
-
----------
24
-
25
23
The SCORM API Wrappers come in three varieties:
26
24
27
25
* JavaScript
@@ -32,5 +30,4 @@ All three wrappers are SCORM version-agnostic, and will work with both SCORM 1.2
32
30
33
31
Both of the ActionScript wrappers require the JavaScript wrapper; the AS wrappers use ExternalInterface to invoke functions contained in the JavaScript wrapper. If the JS wrapper is not present, the ActionScript wrappers will not work.
34
32
35
-
When testing locally, the ActionScript wrappers also require you to change your Flash Player settings to allow local SWFs to execute ExternalInterface commands. Change your security settings using this link:
The ActionScript wrappers use ExternalInterface to communicate with JavaScript. ExternalInterface will not work in a local environment unless you change your Flash Player security settings.
0 commit comments