When using PHONEGAP development, video playback Many people initially choose to use the HTML5 video tag as an alternative, in fact, this scenario is often not satisfied with the requirements in the real environment, because the current HTML5 video tag only supports MP4, Ogg and WEBM format video playback, even for the above video does not have a good effect, depending on the support performance of the Android browser, really do not understand Chrome browser so advanced, Android native browser is poor. So when we want to play video files in the format of rmvb,h264, this scenario is completely unworkable. Fortunately PhoneGap provides a powerful plug-in mechanism, we can use the Android native playback plug-in to achieve, here is a Vitamio open source plug-in, the real machine test, fully embedded in the PHONEGAP project to perfectly play common format video, and you can also customize the development on this basis. Http://plugins.cordova.io/#/package/com.hutchind.cordova.plugins.vitamio
PhoneGap Android Video Playback solution