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

Doesn't work on Android 5 #41

Open psylone opened 9 years ago

psylone commented 9 years ago

Hi, I try to launch a video on Android 5 (HTC One) and it doesn't work. All I see on the phones screen is the video placeholder. Can anyone try to run video on Android 5, is it possible with this plugin?

Maybe someone can suggest me a direction for the investigation of this question?

lalop commented 9 years ago

Hello @psylone , I 've the same issue, did you find any solution ?

odbol commented 9 years ago

Hey all, please post your logs if you can. Are you putting the video files in the res/raw/ directory?

lalop commented 9 years ago

Hello, I put my videos in platforms/android/res/raw/ and when I compile the app I get the same error for each video :

/Users/sam/Workspace/projets/Clint/saysi/mobile/app/platforms/android/build/generated/source/r/debug/com/armani/saysi/R.java:363: error: <identifier> expected
        public static final int 1plongeon=0x7f050000;
                               ^
/Users/sam/Workspace/projets/Clint/saysi/mobile/app/platforms/android/build/generated/source/r/debug/com/armani/saysi/R.java:363: error: <identifier> expected
        public static final int 1plongeon=0x7f050000;
                                         ^
psylone commented 9 years ago

Yes, I also put the video into the platforms/android/res/raw folder, and have no errors during the build. The application starts fine, but video just not showing.

@lalop could you please tell which version of phonegap (or cordova) do you use?

lalop commented 9 years ago

I use cordova 5.1.1

It’s the last one I think

Le 6 août 2015 à 11:49, Evgeniy notifications@github.com a écrit :

Yes, I also put the video into the platforms/android/res/raw folder, and have no errors during the build. The application starts fine, but video just not showing.

@lalop https://github.com/lalop could you please tell which version of phonegap (or cordova) do you use?

— Reply to this email directly or view it on GitHub https://github.com/jaeger25/Html5Video/issues/41#issuecomment-128311329.

psylone commented 9 years ago

Thanks, I use phonegap 4.2 and should test it on the latest version too.

odbol commented 9 years ago

@lalop you can't start a filename with a number. It has to start with a letter.

@psylone I need to see your logcat output or your code before I can help.

lalop commented 9 years ago

@odbol thank you