mirror of
https://github.com/apache/cordova-android.git
synced 2025-02-01 01:53:00 +08:00
06aafc96c9
Code from the Froyo Android Browser was adapted to support <video> elements in Cordova. The WebView creates a "CustomView" (a video player) that is displayed fullscreen. It uses API level 7, work has to be done to support lower version. Tested on Androdi 2.2: works Tested on Android 4.1: doesn't work. It seems videos are handled differently (without the use of "Custom views"). To make video playing work on Android 4, add the android:hardwareAccelerated="true" attribute to the main activity of the AndroidManifest. |
||
---|---|---|
.. | ||
assets | ||
res | ||
src | ||
test/org/apache/cordova | ||
.classpath | ||
.project | ||
AndroidManifest.xml | ||
ant.properties | ||
build.xml | ||
default.properties | ||
project.properties |