Skip to main content
Inspiring
June 28, 2022
Question

Pause / Play video with button and log that action in xAPI output

  • June 28, 2022
  • 1 reply
  • 218 views

How can I create buttons, or other interactions, that pause and play a video -- let's say a slide video -- and ensure that I can generate xAPI statements, such as:

User paused video at 32 seconds

User started video at 35 seconds

User exited video slide.

 

I can set interactions (buttons and click boxes) to be reported but am hoping I can get pause / play to work, as well.

 

Also, in which html or js file can I find xAPI code output by Captivate? I can't find it, but can clearly see the results in Scorm Cloud logs.

 

Thanks!

This topic has been closed for replies.

1 reply

TLCMediaDesign
Inspiring
June 29, 2022

All of the code is in the scormdriver.js file at the root of the output.

Inspiring
June 30, 2022

Thank you!