URL of gitlab repo: Ferenc Igali / Video Test · GitLab
URL of experiment: Movie_Mp4 [PsychoPy]
Description of the problem: When trying to play a movie on the online version, Pavlovia crashes (page becomes unresponsive due to JavaScript fatal error). I have the latest stable build running, got a successful sync and video file is in the HTML resources folder from Builder.
PsychoPy prints a line to the console about not having a default parameter for movies. Image included below. Similarly, it has trouble setting the setMovie parameter in JavaScript (image of console error included). Full error is just endless iterative text with encoding issues so would rather not copy it out but the main listed error in the console before the fatal one is:
{origin: “MovieStim.setMovie”, context: “when setting the movie of MovieStim: movie”, error: "the argument:}
Please note, have received successful syncs for this project. No other errors shown.
Have tried all back-ends for playing movies (I’m assuming the online player can support .mov as a container format here - is there a preferred codec or container format for videos?).
Experiment built as a test for an academic in builder using the Movie component - have tried other containers and types of video and receive same error (so I’m assuming it’s not container specific, unless there’s a preferred codec/container type I haven’t tried but I tried all the classics - mp4, h.264, etc).
Videos and experiment play fine on local machine. Have made gitlab repo public for this one (linked at top of post).
Long error makes reference in this case to: “Apple Alias Data Handler”.
Also, does your video engine or the back-end not do any compression? I noticed while downloading the resources on the front-end that my academics 600mb of videos (there’s 4 types of stimuli, encoded in .mov at a decent bit rate) are all downloaded client-side. I assume for data/speed/sanity sake, we should compress videos to a lower bitrate that still is acceptable to play if there’s no compression?
Can provide more information/logs as requested,
Ferenc