Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
114 changed files
with
21,689 additions
and
232 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<iframe src="vishubcode_scorm12_wrapper.html" style="width:100%; height:100%; border: none"></iframe> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<html> | ||
<head> | ||
</head> | ||
<body> | ||
<iframe src="vishubcode_scorm2004_wrapper.html" style="width:100%; height:100%; border: none"></iframe> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<html> | ||
<head> | ||
<script src="jquery-1.11.1.min.js" type="text/javascript"></script> | ||
<script src="Local_API_SCORM_12.js" type="text/javascript"></script> | ||
<script src="SCORM_Player.js" type="text/javascript"></script> | ||
<script src="../../js/VISH.IframeAPI.js" type="text/javascript"></script> | ||
</head> | ||
|
||
<body> | ||
<script type="text/javascript"> | ||
//SCORM URL | ||
var scormpackageURL = "../contents/scormappcode/AQuizmaker_SCORM12/index_lms.html"; | ||
// Create LMS API | ||
var API = new Local_API_SCORM_12({debug: true}); | ||
//Create SCORM player | ||
var SCORM_Player = new SCORM_Player({debug: true, SCORM_VERSION: "12", LMS_API: API, VISH_IFRAME_API: VISH.IframeAPI, SCORM_PACKAGE_URL: scormpackageURL }); | ||
|
||
SCORM_Player.loadScormContent(function(){ | ||
// Scorm content loaded | ||
}); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
110 changes: 110 additions & 0 deletions
110
examples/contents/scormappcode/AQuizmaker_SCORM12/adlcp_rootv1p2.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?xml version="1.0"?> | ||
<!-- filename=adlcp_rootv1p2.xsd --> | ||
<!-- Conforms to w3c http://www.w3.org/TR/xmlschema-1/ 2000-10-24--> | ||
|
||
<xsd:schema xmlns="http://www.adlnet.org/xsd/adlcp_rootv1p2" | ||
targetNamespace="http://www.adlnet.org/xsd/adlcp_rootv1p2" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace" | ||
xmlns:imscp="http://www.imsproject.org/xsd/imscp_rootv1p1p2" | ||
xmlns:xsd="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="unqualified" | ||
version="ADL Version 1.2"> | ||
|
||
<xsd:import namespace="http://www.imsproject.org/xsd/imscp_rootv1p1p2" | ||
schemaLocation="imscp_rootv1p1p2.xsd"/> | ||
|
||
<xsd:element name="location" type="locationType"/> | ||
<xsd:element name="prerequisites" type="prerequisitesType"/> | ||
<xsd:element name="maxtimeallowed" type="maxtimeallowedType"/> | ||
<xsd:element name="timelimitaction" type="timelimitactionType"/> | ||
<xsd:element name="datafromlms" type="datafromlmsType"/> | ||
<xsd:element name="masteryscore" type="masteryscoreType"/> | ||
|
||
|
||
<xsd:element name="schema" type="newSchemaType"/> | ||
<xsd:simpleType name="newSchemaType"> | ||
<xsd:restriction base="imscp:schemaType"> | ||
<xsd:enumeration value="ADL SCORM"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:element name="schemaversion" type="newSchemaversionType"/> | ||
<xsd:simpleType name="newSchemaversionType"> | ||
<xsd:restriction base="imscp:schemaversionType"> | ||
<xsd:enumeration value="1.2"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
|
||
<xsd:attribute name="scormtype"> | ||
<xsd:simpleType> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:enumeration value="asset"/> | ||
<xsd:enumeration value="sco"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:attribute> | ||
|
||
<xsd:simpleType name="locationType"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:maxLength value="2000"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
|
||
<xsd:complexType name="prerequisitesType"> | ||
<xsd:simpleContent> | ||
<xsd:extension base="prerequisiteStringType"> | ||
<xsd:attributeGroup ref="attr.prerequisitetype"/> | ||
</xsd:extension> | ||
</xsd:simpleContent> | ||
</xsd:complexType> | ||
|
||
<xsd:attributeGroup name="attr.prerequisitetype"> | ||
<xsd:attribute name="type" use="required"> | ||
<xsd:simpleType> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:enumeration value="aicc_script"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:attribute> | ||
</xsd:attributeGroup> | ||
|
||
<xsd:simpleType name="maxtimeallowedType"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:maxLength value="13"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="timelimitactionType"> | ||
<xsd:restriction base="stringType"> | ||
<xsd:enumeration value="exit,no message"/> | ||
<xsd:enumeration value="exit,message"/> | ||
<xsd:enumeration value="continue,no message"/> | ||
<xsd:enumeration value="continue,message"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="datafromlmsType"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:maxLength value="255"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="masteryscoreType"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:maxLength value="200"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="stringType"> | ||
<xsd:restriction base="xsd:string"/> | ||
</xsd:simpleType> | ||
|
||
<xsd:simpleType name="prerequisiteStringType"> | ||
<xsd:restriction base="xsd:string"> | ||
<xsd:maxLength value="200"/> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
|
||
</xsd:schema> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<?xml version="1.0" encoding="UTF-8"?><!-- filename=ims_xml.xsd --><xsd:schema xmlns="http://www.w3.org/XML/1998/namespace" targetNamespace="http://www.w3.org/XML/1998/namespace" xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"> <!-- 2001-02-22 edited by Thomas Wason IMS Global Learning Consortium, Inc. --> <xsd:annotation> <xsd:documentation>In namespace-aware XML processors, the "xml" prefix is bound to the namespace name http://www.w3.org/XML/1998/namespace.</xsd:documentation> <xsd:documentation>Do not reference this file in XML instances</xsd:documentation> <xsd:documentation>Schawn Thropp: Changed the uriReference type to string type</xsd:documentation> </xsd:annotation> <xsd:attribute name="lang" type="xsd:language"> <xsd:annotation> <xsd:documentation>Refers to universal XML 1.0 lang attribute</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="base" type="xsd:string"> <xsd:annotation> <xsd:documentation>Refers to XML Base: http://www.w3.org/TR/xmlbase</xsd:documentation> </xsd:annotation> </xsd:attribute> <xsd:attribute name="link" type="xsd:string"/></xsd:schema> |
Oops, something went wrong.