From f935aa817242b008276ef6bd4e200b93e5a13365 Mon Sep 17 00:00:00 2001 From: Robert Gibboni Date: Thu, 31 Jan 2019 16:56:56 -0800 Subject: [PATCH] Variable not defined, potential bug. Use --- plugins/jspsych-video.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/jspsych-video.js b/plugins/jspsych-video.js index db5107f1..39ace459 100644 --- a/plugins/jspsych-video.js +++ b/plugins/jspsych-video.js @@ -99,8 +99,8 @@ jsPsych.plugins.video = (function() { var video_preload_blob = jsPsych.pluginAPI.getVideoBuffer(trial.sources[0]); if(!video_preload_blob) { - for(var i=0; i -1){ file_name = file_name.substring(0, file_name.indexOf('?')); }