Error when manually loading resources

I’m trying to manually resources during the experiment following the example from here:

However, when I use this code I receive an error:

  • TypeError: psychoJS.downloadResources is not a function

Any advice?

In 2021.2.3 onwards, try using psychoJS._serverManager.prepareResources() instead.

You may find this page useful, though it doesn’t mention download or prepare Resources in code.

Hi There,

Actually in the newest release you can use the resource manager component - have you given that a go? (it is under “Custom”)