Recently I’ve been working with Arjan on a Cordova (PhoneGap) app for AT5, the local TV station in Amsterdam. While HTML5 video tags work just fine in the app, playing a video kicks you out of the app and into Mobile Safari. Since that’s not the nicest user experience, we wanted to add a native video player plugin to play the videos within the app.
phonegap-videoplayer-plugin is commonly used to do just this, but it doesn’t work in recent versions of Cordova nor is installation totally obvious. So, I took only the most essential files from it and created my own native plugin, CDVVideo. You can find CDVVideo on GitHub.