I’m new to psychopy and am having some problems with displaying movie.
I have a list of timestamps of a movie, and I want to play the movie when the experiment starts, and let it pause at each of the timestamps -> say, for 5 seconds -> and then continue playing till the next timestamp. I want it to pause and play automatically without key input.
Now I’m just trying to let the movie pause after 5 seconds by the code as below, but movie does not even show up…(if I comment out the part after the second while, the movies shows up.):
recallPeriod = True while recall_trialClock.getTime() <= recallLength: if recallPeriod: playback.setAutoDraw(True) #playback is the movieStim while playback.status==PLAYING: if playback.getCurrentFrameTime()==5: playback.pause() playback.setAutoDraw(False) recallPeriod = False elif......