哈维尔几乎是正确的。尽管如此,我将尝试再次解释。也许您将从中收集更多信息。
每个SCO基本上都是一个压缩的网页。您必须将其解压缩并查找imsmanifest.xml,在其中找到初始文件(index.html,player.html等)。它不会位于资源下。您首先必须查看`Organizations
Organization > Item > Identifierref
,这将为您提供一个ID。然后,您必须查看Resources >
Resource with the above ID > href`价值。这是您要查找的文件。
示例(index.html是您需要的文件):
<organizations default="someorg"> <organization identifier="someorg"> <title>Some Title</title> <item identifier="CourseItem01" identifierref="SCO_Resource_01" isvisible="true"> <title>SCO Title Here</title> </item> </organization></organizations> ......<resources> <resource identifier="SCO_Resource_01" type="webcontent" adlcp:scormtype="sco" href="index.html"> <file href="index.html"/> <file href="SCORM_API_wrapper.js"/>...
找到它后,只需在WebView中打开它,它将尝试在父窗口中连接到SCORM
API。您必须提供一些虚拟功能,以使其误认为它确实已连接到LMS并照常进行。否则,它将失败或向您发出警报。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)