jspsych / jsPsych

Create behavioral experiments in a browser using JavaScript
http://www.jspsych.org
MIT License
1.03k stars 666 forks source link

The EyeTracking plugin can not get the position of video's target. #2152

Closed ljhtx closed 2 years ago

ljhtx commented 3 years ago

I just get an initial position of video's target. Is there any other way to solve this problem? image image

myrtevos commented 2 years ago

Hey, not sure if I've understood your problem based on the information given, but it's possible that the eye tracking extension tries to 'fetch' the location of the stimulus before that stimulus has been fully rendered on the screen. I ended up just adapting the trial plugin itself to record the bounding rectangle of the stimulus.

ljhtx commented 2 years ago

Thank you for your response!As you have said,although the plugin can not get the position, I tried to get the position before the end of the video stimuli. It worked.