Videos fail to repeat

URL of experiment: https://gitlab.pavlovia.org/Claes/rpep_elfe_claes

Hi, I use 16 different videos and 32 different conditions. I want to present every condition twice, resulting in 64 trials. However, when the same video is presented for the second time, the experiment freezes on the last frame of that video. There is no error message and the only way to continue is by exiting the experiment. In ‘developer tools’ i get this error message: ‘Failed to load resource: the server responded with a status of 404 ()’.


I saw two similar threads on this topic where they solved this problem by adding a code component with either movie.play(); at the beginning of the routine and movie.stop(); at the end or just ‘movie.reset();’ at the beginning or both. I’ve tried this but nothing changes and it still freezes when a video is played for the second time. I’ve also tried to copy the videos from 8 to 64 so that there is no iteration needed. But if I then change nReps to 1, no video is presented at all. Is there anything else I can do to solve this? Thanks in advance! It would mean so much for me if there would be a solution!

The error message you’ve shown isn’t related. Everyone gets that (unless they’ve added a favicon).

Are all the videos downloading at the start?

Does it work if you only have a few videos?

Please show any code related to the videos plus your video component.

Hi,
Thank you so much for replying!
Yes, all the videos are downloading at the start.
I encounter the same problem with only a few videos. When 1 of the vidoes needs to be presented for the second time, this happens. Even if it’s just 1 video in total.
I’m not sure how to share the code though…

Here’s a previous topic on this issue.

Okay I definitely going to try that! Thank you very much!