Description of the problem:
I have been trying to run an online experiment (generate with the Psychopy Builder, latest version) in Pavlovia, but it gets stuck at the initialisation page. The experiment is essentially identical to another one, which still works fine in Pavlovia. The only difference is that, in the current one, I use videos instead of images.
There are a few code components, but I also added a “code_JS” component in my first routine, as described here.
The error reported in my bowser console is the following:
[Exception… “Favicon at “https://run.pavlovia.org/favicon.ico” failed to load: Not Found.” nsresult: “0x80004005 (NS_ERROR_FAILURE)” location: “JS frame :: resource:///modules/FaviconLoader.jsm :: onStopRequest :: line 241” data: no]
I found the problem. I had a text component with no text in it, which somehow generated a comma (,) in the .js file, which Pavlovia didn’t like apparently.
Yes, I resolved the original issue, but not this new one about “randint”, which I’ve actually defined in my code_js component, at the beginning of the experiment. Not sure why it doesn’t like it.
I had originally generated the videos with the coder as MP4 files, H.264, although, as I couldn’t find an obvious way to change the resolution from 2800x1880 to a lower resolution with the coder (in order to be displayed at the right speed with the Builder), I used Quicktime to change the resolution, but I could only save the files as .mov.
Do you know how to change the resolution with the coder when you’re generating a video?