SCORM:单击演示文稿中的按钮时在SCO之间跳转 [英] SCORM: jump between SCOs when button in the presentation is clicked

查看:118
本文介绍了SCORM:单击演示文稿中的按钮时在SCO之间跳转的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我正在一个人们可以创建演示文稿的网站上工作。该网站具有以SCORM格式(1.2或2004年)导出演示文稿的功能。我正在研究这个功能,这是我第一次见到SCORM。

所以在我的演示文稿中有一些按钮可以将你重定向到其他幻灯片。例如,您在幻灯片4上,按钮将您重定向到幻灯片7.

目前我正在使用一个SCO(Sherable)构建SCORM内容对象)和所有导航由我在演示文稿中制作的自定义导航栏处理。

所以让我们去看看实际问题。我想在没有自定义导航栏的情况下构建演示文稿,以便LMS(学习管理系统)可以处理导航。我通过创建多个SCO(每个幻灯片一个SCO)来做到这一点,但我没有为我的重定向按钮找到可能的解决方案。单击按钮时,如何从幻灯片(SCO)4跳转滑动(SCO)7。是否可以从运行时API,1.2或者仅在2004年,或者根本不可能。

So let's go to the actual question. I want to build my presentation without my custom navigation bar so that the navigation can be handled by the LMS (Learning Management System). I did that by creating multiple SCOs (one SCO per slide) but I don't find a possible solution for my redirecting buttons. How can i "jump" from slide(SCO) 4 to slide(SCO) 7 when clicking on a button. Is it possible from the Run Time API, in 1.2 or maybe only in 2004 or it's not possible at all.

编辑:所以我试图用继续继续<实施 adl.nav.request / code>在scorm 2004第4代,但我没有运气。我使用导航请求 - 选择,但继续一直让我返回false

So I'm trying to implement adl.nav.request with continue or continue in scorm 2004 4th generation but I'm not getting any luck. I made it with the nav request - choice, but continue keeps returning me false

在初始化Scorm Api之后我做的很好:

After initialization of the Scorm Api which works fine I do:

console.log(ScoApi.api.GetValue('adl.nav.request_valid.choice.{target=4}'));
console.log(ScoApi.api.GetValue('adl.nav.request_valid.continue'));
if (ScoApi.api.GetValue('adl.nav.request_valid.choice.{target=4}')) {
    ScoApi.api.SetValue('adl.nav.request', '{target=4}choice');
} else {
    console.log('Not supported!');
}

..我得到 true 选项 false 继续来自 cloud.scorm.com 中的 console.log()和两个未知的Moodle 即可。 (未知是否表示LMS不支持它们?)

.. and I get true for the choice and false for the continue from the console.log() in cloud.scorm.com and two unknown in Moodle. (Does unknown mean that the LMS doesn't support them?)

在我的清单中,我有一个控制模式它的属性定义如下:

In my manifest I have the controlMode with it's attributes defined like this:

<imsss:sequencing>
    <imsss:controlMode choice="true" choiceExit="true" flow="true"/>
</imsss:sequencing>

选择 - 允许学员选择查看$的顺序b $ b内容。

Choice - Allows learners to select the order in which they view the content.

流程 - 要求学员按照教学设计师
定义的顺序查看内容

Flow - Requires learners to view the content in an order defined by the instructional designer

选择退出 - 控制学习者是否可以通过选择选择活动
聚合之外的活动。

Choice Exit - Controls if learner may select an activity outside the active aggregation via choice.

这就是我读到的关于它们的内容。我试过改变它们,但结果是一样的。我在这做错了什么? :(

That's what I read about them. I have tried changing them but the result was the same. What am I doing wrong here? :(

这是我的清单:

<?xml version="1.0" standalone="no" ?>
<manifest identifier="com.scorm.manifesttemplates.scorm2004.4thEd.nometadata" version="1"
          xmlns = "http://www.imsglobal.org/xsd/imscp_v1p1"
          xmlns:adlcp = "http://www.adlnet.org/xsd/adlcp_v1p3"
          xmlns:adlseq = "http://www.adlnet.org/xsd/adlseq_v1p3"
          xmlns:adlnav = "http://www.adlnet.org/xsd/adlnav_v1p3"
          xmlns:imsss = "http://www.imsglobal.org/xsd/imsss"
          xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation = "http://www.imsglobal.org/xsd/imscp_v1p1 imscp_v1p1.xsd
                                http://www.adlnet.org/xsd/adlcp_v1p3 adlcp_v1p3.xsd
                                http://www.adlnet.org/xsd/adlseq_v1p3 adlseq_v1p3.xsd
                                http://www.adlnet.org/xsd/adlnav_v1p3 adlnav_v1p3.xsd
                                http://www.imsglobal.org/xsd/imsss imsss_v1p0.xsd" >

    <metadata>
        <schema>ADL SCORM</schema>
        <schemaversion>2004 4th Edition</schemaversion>
    </metadata>

    <organizations default="158ltd.omo.org">
        <organization identifier="158ltd.omo.org">
            <title>sdasdf</title>
            <item identifier="course_main_folder">
                <title>sdasdf</title>
                <item identifier="3" identifierref="54182fce77661">
                    <title>1</title>
                </item>
                <item identifier="4" identifierref="54182fce77b28">
                    <title>2</title>
                </item>
                <item identifier="5" identifierref="54182fce77ebd">
                    <title>3</title>
                </item>
                <item identifier="54182fce786c7">
                    <title>visible group</title>
                <item identifier="6" identifierref="54182fce784f8">
                    <title>Wooho</title>
                </item>
                </item>
            </item>
            <imsss:sequencing>
                <imsss:controlMode choice="true" choiceExit="true" flow="true"/>
            </imsss:sequencing>
        </organization>
    </organizations>

    <resources>
        <resource identifier="54182fce77661" type="webcontent" adlcp:scormType="sco" href="content/slide_3.html">
            <file href="content/slide_3.html" />
        </resource>
        <resource identifier="54182fce77b28" type="webcontent" adlcp:scormType="sco" href="content/slide_4.html">
            <file href="content/slide_4.html" />
        </resource>
        <resource identifier="54182fce77ebd" type="webcontent" adlcp:scormType="sco" href="content/slide_5.html">
            <file href="content/slide_5.html" />
        </resource>
        <resource identifier="54182fce784f8" type="webcontent" adlcp:scormType="sco" href="content/slide_6.html">
            <file href="content/slide_6.html" />
        </resource>
    </resources>
</manifest>


推荐答案

在许多LMS系统上以他们设置的方式进行部署该规范是imsmanifest.xml中SCORM 2004 Sequence和Navigation的混合。这是包装(内容聚合模型)规范的一部分。其次通过'adl.nav.x'利用新的运行时功能。

For deployment on many LMS systems the way they set up the specification is a mix of both the SCORM 2004 Sequence and Navigation within the imsmanifest.xml. This is apart of the packaging (Content Aggregation Model) spec. And secondly utilizing the new runtime capabilities via 'adl.nav.x'.

我个人发现这部分规格很棘手因为你要求(在SCO内)并且您组织中的所有SCO都需要彼此了解。这意味着您的CAM具有所有活动和/或资源的标识符,并且您的SCO需要知道他们要求通过这些ID移动到内容。这被称为选择导航请求,您可以在其中传递您想要去的目标:

I've personally found this portion of the spec tricky because you are requesting (within the SCO) and all the SCO's in your organization need to be aware of each other. Meaning your CAM has identifiers for all the Activities and or resources and your SCO's would need to know they were requesting to move to content by those ID's. This is called a "choice" navigation request where you pass the target of what you want to go to:

继续或上一个:

if (wrapper.GetValue("adl.nav.request_valid.continue") === 'true') {    
    wrapper.SetValue("adl.nav.request", "continue");
} else {
    // not supported (fail over)
}

跳过,跳转或选择,因为他们在文档中引用它:

Skip, Jump or Choose as they've referred to it in the docs:

if (wrapper.GetValue("adl.nav.request_valid.choice.{target=PAGE-D}") === 'true') {
    wrapper.SetValue("adl.nav.request", "{target=PAGE-D}choice");
} else {
    // not supported (fail over)
}

此外,在序列和导航中,您可以选择控制流程 - 学生是否可以自由导航,只在其他选项中前进。从技术上讲,您可以通过启动数据或参数将CAM标识符传递到每个SCO中,这样您就可以知道可用的内容。

Further more, within the Sequence and Navigation you have options to control the flow - whether the student can navigate freely, only go forward among other options. You could technically pass in the CAM identifiers via launch data or parameters into each SCO so you'd know what was available.

您可以直接使用简单排序规则来控制您的一些所需行为,这些规则具有跳过,退出,重新启动等的前/后标准...这允许您制定关于学生如何通过课程的表现规则。尽管如此,我强烈建议您阅读通过ADL获取SCORM SeqNav PDF 或结帐第3版,如果LMS没有采用第4版(2009年修补)。您可以直接从IMS Global获得有关IMS Simple Sequencing的更多详细信息。 ADL和IMS之间似乎有一些不和之争,其中一些较高点也很有趣。

You may be able to control some of your required behavior directly with Simple Sequencing rules having pre/post criteria for skipping, exiting, restarting etc ... This allows you to set up performance rules about how the students move through your lesson. For all that I'd highly recommend reading up on the SCORM SeqNav PDF via ADL or checkout 3rd Edition if 4th isn't adopted by the LMS your on (patched in 2009). You may have more detail about IMS Simple Sequencing directly from IMS Global. There was what appears to be a bit of a feud between ADL and IMS over some of of the higher points which is entertaining all the same.

手头编辑XML(imsmanifest) .xml) -
您可以通过添加以下内容来控制全部或部分课程结构的顺序:

On hand editing XML (imsmanifest.xml) - You can control the sequence of all or part of your lesson structure by adding:

<imsss:sequencing>
    <imsss:controlMode choice="true" flow="true" />
</imsss:sequencing>

flow默认为false,但true允许排序请求。
选项默认为true。

flow defaults to false, but true allows sequencing requests. choice defaults to true.

我将跟进一个更完整的示例(zip)。我注意到我在上面的if语句中检查了一个布尔值,它实际上响应了'true'。所以这是对我的疏忽。

I'll follow up with a more complete example (zip). I did notice I checked for a boolean in my if statement above which actually responds 'true'. So that was a oversight on my part.

选择'adl.nav.request'的示例通过之前,继续和选择。但是选择='真'需要它才能工作。

Sample with Choice 'adl.nav.request' via previous, continue and choice. But choice='true' required for that to work.

https://dl.dropboxusercontent.com/u/3459294/scorm/one-page-progression.zip

只有管理序列的其他方法是深入了解前提规则和行动。

Only other way to manage the sequence is to dive into precondition rules and actions.

谢谢,
马克

这篇关于SCORM:单击演示文稿中的按钮时在SCO之间跳转的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆