Hi everyone,
I have no experience with Javascript whatsoever nor with Qualtrics. My current aim is to record the amount of time between when a preloaded movie starts playing and when a participant clicks on an image that represents: "i have decided".
So far, I have added a movie to my survey that preloads before autoplaying. I have also added a timer that starts as soon as the page is loaded. And Qualtrics also registers the mouse clicks of the participant in relation to the time.
But now the problems come:
- There is a difference between the page having loaded and when the movie has loaded, and thus, starts playing. Hence I was thinking to reset the time counter by adding an eventlistener that searching for the moment when the movie starts playing?
- The mouse click should only be registered if the participants clicks on the image that I described. All other mouse clicks should be ignored.
Can someone explain to me how to do this and what the code should be like?