
A Phonegap plugin that allows playback of local video files using html 5 video tags
The Cordova Html5Video Plugin is a revolutionary tool designed for developers looking to leverage normal HTML5 <video> tags within their Cordova applications on Android. With this plugin, you can seamlessly implement video playback, a functionality that is usually restricted due to Android Webview's limitations regarding local files. This plugin provides an innovative solution by assigning an android.resource:// path to your videos, thus updating your <video> tags accordingly, making the process simple and efficient.
If you are working on an app that involves video content, this plugin can significantly enhance user experience by allowing you to create full-screen video players initiated through JavaScript. While it's specifically developed for Android, it comes with certain considerations and limitations but effectively circumvents typical content restrictions, making it a valuable asset in your development toolkit.
Native Video Support: Enables the use of standard HTML5 <video> tags for playing local videos within Cordova apps.
Path Management: Automatically updates <video> tags with android.resource:// paths, simplifying video handling.
Full-Screen Playback: Plays videos in full screen, providing an immersive viewing experience for users.
API Workaround: Employs a method to copy video files to the app’s data directory for API levels 19 and above, circumventing Chrome's content limitations.
Supported Versions: Tested on Android API 15-19, ensuring compatibility across various Android devices.
Easy Installation: Simple to install via Cordova command, making it accessible to developers of all levels.
Hardware Acceleration: Supports hardware acceleration, which is essential for smooth video playback on Android devices.
Client-side Control: Offers flexible JavaScript controls for video playback, allowing developers to manage events and actions easily.
