Playing Fullscreen Video Over Multiple Monitors

Recently I encountered a bear of an issue with trying to get videos to play fullscreen over two monitors. For some reason many operating systems & video players do not allow this, and it’s a pain in the butt. I whipped up a little Processing app that will play one video stretched over two monitors (you could easily adapt it for multiple videos, eg one-per-monitor). It can also handle masking and projector alignment. Here’s the code: