diff --git a/plugins/jspsych-video-button-response.js b/plugins/jspsych-video-button-response.js index 1a83236437..9e7d8c91ac 100644 --- a/plugins/jspsych-video-button-response.js +++ b/plugins/jspsych-video-button-response.js @@ -272,7 +272,7 @@ jsPsych.plugins["video-button-response"] = (function() { // gather the data to store for the trial var trial_data = { "rt": response.rt, - "stimulus": trial.stimulus, + "stimulus": JSON.stringify(trial.stimulus), "button_pressed": response.button }; diff --git a/plugins/jspsych-video-keyboard-response.js b/plugins/jspsych-video-keyboard-response.js index e3ae4cf167..8c794eddea 100644 --- a/plugins/jspsych-video-keyboard-response.js +++ b/plugins/jspsych-video-keyboard-response.js @@ -228,7 +228,7 @@ jsPsych.plugins["video-keyboard-response"] = (function() { // gather the data to store for the trial var trial_data = { "rt": response.rt, - "stimulus": trial.stimulus, + "stimulus": JSON.stringify(trial.stimulus), "key_press": response.key }; diff --git a/plugins/jspsych-video-slider-response.js b/plugins/jspsych-video-slider-response.js index 4e60d93799..fa7a9601b6 100644 --- a/plugins/jspsych-video-slider-response.js +++ b/plugins/jspsych-video-slider-response.js @@ -318,7 +318,7 @@ jsPsych.plugins["video-slider-response"] = (function() { // gather the data to store for the trial var trial_data = { "rt": response.rt, - "stimulus": trial.stimulus, + "stimulus": JSON.stringify(trial.stimulus), "start": trial.start, "slider_start": trial.slider_start, "response": response.response