0

I want to track when users have viewed a Captivate (Flash 10.0) video tutorial. In order to do this I need to pass two parameters (employee ID and which tutorial) and have the video call a url with the passed values when it's done. I think I can pass the parameters to the turorial when it starts but I'm not sure how to get them back out when the video is done. The end of the video would have a "Completed" button the user would click but I'm not sure how to address the parameters and their values.

4

2 回答 2

1

最简单的方法是将参数放在 HTML 文件的JavaScript中,而不是 Captivate 文件中。除非您在其他地方使用它们,否则真的没有理由将参数传递给 Captivate 文件。

如果您有 JavaScript 中的参数,在 Captivate 视频幻灯片的末尾,您可以简单地调用一个 JavaScript 函数来处理将数据发送到您的 LMS。

var employeeID = "abc123";
var tutorialID = "tutorial_01";

function setTutorialToComplete(){
   var url = "http://www.yoururl.org/index.html?emp=" + employeeID + "&tut=" + tutorialID;
   //use the URL somehow. maybe use ajax to do a post/get using your vars
}

在您的 Captivate 文件中,只需在视频播放完毕后调用 setTutorialToComplete()。

于 2009-07-10T17:49:29.720 回答
0

Adobe Labs 的“Adobe Captivate 5.5 课程伴侣”旨在解决诸如此类的报告问题:http: //labs.adobe.com/technologies/captivate_course/

于 2012-03-13T19:58:53.613 回答