I would like to play a movie with any program on Mac (quicktime, itunes, vlc, …) and to control the play and pause function by a Phidgets sensor (button, touch or distance sensor). My idea is that if you activate the sensor, the movie starts playing for 10 seconds, then stops again until the sensor is activated again.
I am usually using Phidgets with MaxMSP, but for this task I am not sure if it is the right choice.
How would you do that? Any experiences?
I would be greatful for hints. Thanks!