Hi there.
You will need to write code for Arduino so that it keeps reading IR Sensor output, and if distance falls below threshold value, signal is sent via UART to USB (or Ethernet, or WiFi, or Bluetooth) port of Mac. Now, there will have to be second part of software, this time in Your Mac. That one should be waiting for signal from Arduino and start playing video when signal is received.