jaeger25 / Html5Video

A Phonegap plugin that allows playback of local video files using html 5 video tags
Apache License 2.0
99 stars 65 forks source link

Does not work on Nexus 5 Android 4.4 #20

Open mthuong opened 10 years ago

mthuong commented 10 years ago

Html5Video does not work on Android 4.4 Do you any help from it?

My sample code here: https://github.com/mthuong/Html5VideoSample.git

ccoenen commented 10 years ago

Same here. Empty project created exactly as mentioned in the README.

(Samsung GalaxyTab 2 10.1 on 4.2 vs. Nexus 10 on 4.4)

:-(

gylippus commented 10 years ago

@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/jaeger25/Html5Video/issues/23#issuecomment-51174558]

mathiasmuller4sh commented 10 years ago

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

odbol commented 10 years ago

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.

odbol commented 9 years ago

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.

bvivek20 commented 8 years ago

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?