This project will show you how I made a Raspberry Pi play videos based on a GPIO input.
Read up about this project on