PhoneGap Android Video Playback solution

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.