Forum

Load and change videos on button press

Hello all!
I’m newbie here and I need some directions for my project :)

As you can see on the image bellow, I have 8 videos. Each video is with one person.
Using firmata I’ll connect Aruino with 8 buttons associated with each video. When button pressed the video of the person should disappear and appear completely new one.

I can’t figure out how to load new videos and disappear the old ones on button pressed.
If someone can give some direction would be awesome!

Cheers,
Elena

just to get you started.
a little patch that selects paths on button bang.

select-paths.v4p (7.2 kB)

instead if S+H and Select its better to use MultiFlipFlop (Animation Advanced) from the addonpack because it cannot output NIL and no double selections if two buttons are pressed in the same frame…

yeah right

Thank you! One more quick question.
On the image bellow you can see that on button clicked the second path is not selected. What am I doing wrong?

the construction with GetSlice and FlipFlop does not make much sense, you should read the spreads documentation to get a better understanding.

here is the patch again with MultiFlipFlop. make sure the you have the addonpack installed:

select-paths (1).v4p (4.3 kB)

Thanks, I did it with ‘vector’.
Cheers!