Does not work on Nexus 5 Android 4.4
mthuong opened this issue · 6 comments
Html5Video does not work on Android 4.4
Do you any help from it?
My sample code here: https://github.com/mthuong/Html5VideoSample.git
Same here. Empty project created exactly as mentioned in the README.
- Android 4.2.2 Device: Works as advertised
- Android 4.4.2 Device: No Video
(Samsung GalaxyTab 2 10.1 on 4.2 vs. Nexus 10 on 4.4)
:-(
@ccoenen @mthuong If using downloaded files with File Transfer is an option at all, you can get it working with 4.4 devices.
See: [https://github.com//issues/23#issuecomment-51174558]
The webview changes from 4.3 to 4.4 breaks the android.resource url scheme
cf: https://code.google.com/p/android/issues/detail?id=63033
Anyway not sure to understand how to use File Transfer with 4.4
Anyone working on this? I will take a shot at it but I don't want to duplicate other's work.
My plan is to use the solution suggested by @gylippus in this comment, but by automatically copying over the video file to the "/data/data/package/" directory the first time, so it is all pretty much seamless for the developer to start using.
Ok something in my fix is now not working on Jelly Bean (even though it does work on KitKat); will debug and re-submit the pull request.
when the video is playing, i exit the app. Go back to the app and the app crashes, it does not play the video. Any idea?