From ec83e9cd20e125b884b91170470add4e18948f63 Mon Sep 17 00:00:00 2001 From: Mark Gorenstein Date: Thu, 5 Nov 2020 10:01:11 -0800 Subject: [PATCH] replace 'stimulus' with 'sources' in registerPreload calls of video plugins --- plugins/jspsych-video-button-response.js | 2 +- plugins/jspsych-video-keyboard-response.js | 2 +- plugins/jspsych-video-slider-response.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/jspsych-video-button-response.js b/plugins/jspsych-video-button-response.js index afcb581c..f0c199ee 100644 --- a/plugins/jspsych-video-button-response.js +++ b/plugins/jspsych-video-button-response.js @@ -12,7 +12,7 @@ jsPsych.plugins["video-button-response"] = (function() { var plugin = {}; - jsPsych.pluginAPI.registerPreload('video-button-response', 'stimulus', 'video'); + jsPsych.pluginAPI.registerPreload('video-button-response', 'sources', 'video'); plugin.info = { name: 'video-button-response', diff --git a/plugins/jspsych-video-keyboard-response.js b/plugins/jspsych-video-keyboard-response.js index 57539c4c..a2f811d7 100644 --- a/plugins/jspsych-video-keyboard-response.js +++ b/plugins/jspsych-video-keyboard-response.js @@ -12,7 +12,7 @@ jsPsych.plugins["video-keyboard-response"] = (function() { var plugin = {}; - jsPsych.pluginAPI.registerPreload('video-keyboard-response', 'stimulus', 'video'); + jsPsych.pluginAPI.registerPreload('video-keyboard-response', 'sources', 'video'); plugin.info = { name: 'video-keyboard-response', diff --git a/plugins/jspsych-video-slider-response.js b/plugins/jspsych-video-slider-response.js index 205c3fbc..654d4e75 100644 --- a/plugins/jspsych-video-slider-response.js +++ b/plugins/jspsych-video-slider-response.js @@ -12,7 +12,7 @@ jsPsych.plugins["video-slider-response"] = (function() { var plugin = {}; - jsPsych.pluginAPI.registerPreload('video-slider-response', 'stimulus', 'video'); + jsPsych.pluginAPI.registerPreload('video-slider-response', 'sources', 'video'); plugin.info = { name: 'video-slider-response',