How to randomize the order of the videos
Hello,
I'm using media_player_mpy to insert 16 video clips in a cue-paradigm task. The rest of the experiment is written with Python script. We're trying to figure out if there is anyway we can set the videos to play in a quasi-random sequence.
Thank you for your help!
Best,
Iris

Comments
Hi Iris,
Sorry for the late reply. You can use the
loop tableto randomize the filenames that you want to play back. So, you would make a variable (e.g. video_file) and in every line you would write one of the filenames. Then in the Media player where you select the video file to play you put[video_file]which will choose the current file.Does that make sense?
Eudard
Hi Eduard,
Thank you for your response! That makes sense!
Best,
Iris