Forum

Switch 3 video with button

hi i’m trying to reproduce 2 \ 3 videos with audio. I would like for each video to have a corresponding button that, when pressed, would play the video. I would like to attach two mouse buttons and the keyboard space bar.
I’m still in the first attempts
would anyone know how to help me?

multiflipflop and getslice

could you better direct me where I should place them?

Dir -> getslice(string) -> Filestream filepath

have a look into the helppatch of multiflipflop (select node and press f1)
it outputs a number coresponding to the pressed button.
use this number in the getslice(string) to select the path of the video you want to play