| Reference | Downloads | Github

Movie malfunction

URL of experiment:

Description of the problem:
In builder, the mp4 videos play just fine.
On Pavlovia on Safari, they freeze on the first frame.
On Pavlovia on Chrome, they play ok at first, but then eventually they either stop showing up or they give me a “Cannot read property ‘0’ of undefined” error.
Any tips would be great! Thanks,

I’m not sure if this is your issue but at the moment you have movie_delay as the start time for the movie but $audio_delay as the start time for the sound. Try $movie_delay

Thanks for having a look, and good catch! But that does not seem to be the problem – fixed it but still having the same issues in Chrome and Safari.

On Chrome, it seems to be a problem playing a given movie twice. The Javascript console gives me “GET 404” every time a movie correctly loads and plays, and then that same movie never plays again.

Please have a go with the solution proposed here: MovieStim won't play the same file twice in Chrome

If it works I’ll add it to my crib sheet