Showing multiple videos on OpenSesame
I'm new to OpenSesame, and I would like to conduct an experiment where a sound plays at the beginning, followed by the simultaneous display of three or more videos on the screen in different positions. Participants need to match the sound with the correct video by touching and subsequently stopping it. I have successfully implemented a similar task with images, but I'm unsure how to achieve this with videos.
So far, I've set up a loop and a sequence inside that includes a sound and a media player. In the loop, I defined variables such as Video1, Video2, and Video3 in their respective columns. I also added three columns for different positions (e.g., Posx1, Posy1, Posx2...), and I scripted the shuffling of positions and videos to ensure a varied order, similar to what I did with images in a previous task.
I attempted to add a video in the media player (mpy), aiming to replace the file name with the variable names [Video1][Video2][Video3], but this approach did not work as expected.
Additionally, I would like to link the columns Posx1 and Posy1 to Video1 and so on. However, unlike with images, there is no editable script to replace the x and y values. I read in the forum that using an inline script with OpenCV might be a solution, but I'm not sure how to implement it. Is there a way to accomplish this task without adding a script directly? I truly hope someone can provide guidance!
Thanks so much!