Audio recording was blocked
Hi there. I have a jsPsych-based experiment with a task that involves audio recording. But when I tested the audio recording in JATOS, I got warnings like this and the experiment stopped responding.
jspsych-image-audio-response-chinese.js:228 Uncaught TypeError: Cannot read property 'getUserMedia' of undefined at start_recording (jspsych-image-audio-response-chinese.js:228) at Object.jsPsych.plugins.image-audio-response.plugin.trial (jspsych-image-audio-response-chinese.js:349) at doTrial (jspsych.js:854) at nextTrial (jspsych.js:822) at Object.window.jsPsych.core.finishTrial (jspsych.js:267) at end_trial (jspsych-html-button-response.js:168) at after_response (jspsych-html-button-response.js:147) at HTMLDivElement.<anonymous> (jspsych-html-button-response.js:116)
I used Chrome to run the experiment, in which my JATOS website is recognized as not secure (see the screenshot below). I assume that the problem might be caused by the fact that Chrome blocked the audio input function for the insecure websites. I was wondering how can I enable audio input or alternatively upgrade the security level of my website? Thanks a lot!