How do you add a radio button that captures click time into an uploaded mp4 video using javascript? | XM Community
Question

How do you add a radio button that captures click time into an uploaded mp4 video using javascript?

  • 28 May 2020
  • 1 reply
  • 9 views

Badge

We are conducting a study where participants will be presented with several videos and they must detect when a change has occurred. We want to add a radio button to the videos so that participants can click when they believe a change has occurred. We would like the radio button to capture the time in (seconds) which participants believe the change occurred.


1 reply

Userlevel 7
Badge +22

You can add a custom button below the video using HTML and ask participants to click on that whey they realize the change. Now, using JS, on click of this button you can get the current seek time of the video at that moment, and you can store this as embedded data.

Leave a Reply