psychopy.org | Reference | Downloads | Github

Initializing Problem, missing OscillatorNode variable

URL of experiment: https://run.pavlovia.org/trevorbaer/visual-illusions/html

Description of the problem: The experiment works great on the local side, but I cannot get past the initializing phase when attempting to run it online. When I use the developer tools to view JavaScript errors, I see the following ReferenceError: Can’t find variable: OscillatorNode.

I understand that I need to define this variable, but I can’t figure out how to define it. Any help would be greatly appreciated!

Hi @trevorbaer, it looks like the browser is having trouble locating (404) the following script, https://run.pavlovia.org/trevorbaer/visual-illusions/html/mooney_faces_v1.js

Oh interesting! It looks like my export to HTML feature is not generating the .js file. Is there any way to track down where it is having an issue generating that file?

Edit: I went through and removed any custom code. Still no luck creating the .js file on export.

Hey @trevorbaer, apologies for the late reply. I was able get PsychoPy to export HTML as expected by going into Experiment Settings, then changing the ‘Use PsychoPy version’ option from 3.2.3 back to default, x