Hi there,
Am working on a project in which I would like to trigger the playing of video clips via buttons. I’m able to trigger sound samples via buttons but haven’t been able to with video.
Any ideas?
Please describe more details about this triggering functionality. I am sure there are previous posts that can do this. For instance, triggers different videos? What is a trigger? Like a key pressed? What happens after that? Does the movie plays its full length? Do you want it to pause, stop, rewind, switch movies?
Kf
Hi there @kfrajer .
I would like the trigger to be a mouseclick on a button where one button (‘YES’) plays one video and another button (‘NO’) plays another. The video clip chosen then runs its full length until another set of YES/NO buttons appears which triggers another video.
Ideally I would like to be making a video where the viewer chooses their own story/ending.
These posts will get you started:
- https://forum.processing.org/two/discussion/23419/video-play-random-video-sequence#latest
- https://forum.processing.org/two/discussion/comment/85389/#Comment_85389
- https://forum.processing.org/two/discussion/26370/play-and-replay-the-video-after-few-second-of-the-playing-time-message#latest
- https://forum.processing.org/two/discussion/25847/how-to-switch-between-multiple-movies-play-movie-after-a-movie#latest
Try to implement your own version and if you run into any difficulties, present a simple sample code demonstrating your approach and your issue.
Kf