This is my answer to the official Twit app's behavior of not playing videos properly when plugged into an accessory. (Like the one I have in my car).
The code here is not meant to be perfect nor perfectly performant, I just needed something that worked.