Strange error when trying to play video online - Pavlovia

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): v2021.2.3
What are you trying to achieve?: Trying to run an experiment online that runs successfully locally.

What did you try to make it work?: I’ve changed all the python code to remove incompatible libraries (such as Pandas etc.) and removed import calls.

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

The experiment runs fine through the 1st 2 text screens and appears to display an image (a black square) successfully but then crashes when it’s supposed to display an animation (video) stimulus.

The resulting error doesn’t make sense - if I had to guess it looks like it’s some kind of meta-data related error.

Here is a screenshot of the error:

Any help or insight would be greatly appreciated.


What variable are you using for the video file? I think it’s the same as something else in the experiment. Try changing it to something other than movie (if that’s what it is).

The error was not related to the variable used for the video file. It was apparently related to the use of .avi video files. I uploaded a random .mp4 video file and it worked fine. I’ll convert all the videos to MP4 and see how that goes.

I’ll marked this as a solution once I’ve tested the converted files.

Edit Yeah, once I replaced the avi video files with mp4 versions they played fine.