OS (e.g. Win10):
PsychoPy version (e.g. 1.84.x):
Standard Standalone? (y/n) If not then what?:
What are you trying to achieve?:
Video stimuli plays correctly the first time it is played. But on the second iteration of the loop the video pauses on the final frame and the routine does not end as expected.
What did you try to make it work?:
This seems to be a somewhat common problem, with several threads on the forum for this already. (see Video stimuli not resetting to beginning in online experiment and Videos are not played multiple times in Pavlovia) However, I implemented the solutions given in that thread to no success.
I tried this and removed it as it did not solve the problem:
The current example implements the following code but this does not solve the problem:
myMovie._movie.currentTime = 0;
I also ensured the video was uses H.264 encoded MP4 with AAC audio encoding, but this made no change.
I’ve created a basic working example which can be viewed here. James Lewis-Cheetham / video_stimuli_error_example · GitLab (pavlovia.org). Any help would be much appreciated!
@wakecarter This might be of interest to you as your crib sheet suggests the use of .stop() and .seek(0) and may need updating if that solution no longer works.