传递 Captivate 参数
我想跟踪用户何时观看 Captivate (Flash 10.0) 视频教程。 为了做到这一点,我需要传递两个参数(员工 ID 和哪个教程),并在完成后让视频调用带有传递值的 url。 我认为我可以在视频开始时将参数传递给视频,但我不知道如何在视频完成后将它们取回。 视频的末尾将有一个“已完成”按钮,用户可以单击该按钮,但我不确定如何处理参数及其值。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最简单的方法是将参数放在 HTML 文件的 JavaScript 中,而不是放在 Captivate 文件中。 实际上没有理由将参数传递到 Captivate 文件,除非您在其他地方使用它们。
如果您有 JavaScript 参数,则在 Captivate 视频幻灯片末尾,您可以简单地调用 JavaScript 函数来处理将数据发送到您的 LMS。
在您的 Captivate 文件中,只需在视频结束时调用 setTutorialToComplete() 即可。
the simplest way to do it is to place the parameters in the HTML file's JavaScript and NOT in the Captivate file. There's really no reason to pass the params to the Captivate file unless you're using them elsewhere.
If you have the params in JavaScript, at the end of the Captivate video slide you can simply invoke a JavaScript function that handles sending the data to your LMS.
In your Captivate file, just invoke setTutorialToComplete() when the video has finished.
Adobe Labs 的“Course Companion for Adobe Captivate 5.5”旨在解决诸如此类的报告问题:http: //labs.adobe.com/technologies/captivate_course/
"Course Companion for Adobe Captivate 5.5" from Adobe Labs is designed to address reporting issues such as this one: http://labs.adobe.com/technologies/captivate_course/