Stop a video playback with a keypress and record reaction time
In my experiment, the user watches a video and presses a key (let's say "space") when he sees a specific object.
At the key press, the video stops.
I then need to record the time between the beginning of the video and the time he pressed the key.
How can I do that?
Thank you for your help.