VideoPlayer
VideoPlayer copied to clipboard
Error - CordovaInterface.getThreadPool() or FBIOGET_FSCREENINFO?
I keep getting an error when my JS calls this plugin when I am not using "app.initialize();":
W/PluginManager(21255): THREAD WARNING: exec() call to VideoPlayer.playVideo blocked the main thread for 67ms. Plugin should use CordovaInterface.getThreadPool().
If I keep "app.initialize();" in my javascript, the video does not even attempt to play.
I noticed that when my app starts up, I get the error "FBIOGET_FSCREENINFO failed", which has something to do with the buffer, I think?
Did I implement this wrong, or is it broken in the new version of Phonegap?
I've done some more digging around - inside of the plugin's java file, I noticed that "Context.MODE_WORLD_READABLE" is deprecated. Is that whats causing the buffer issues?
Did you ever figure this one out? I'm getting this error in Android 4.4 only... 4.2 works fine :x
I got the same problem,please help
I ended up asking this on Stackoverflow: http://stackoverflow.com/questions/23266043/playing-local-in-app-mp4-files-in-a-html5-videoplayer-in-a-cordova-phonegap-app. Apparently the only (known) way to work around this is to copy the video file to the SD card and play it from there.
More feedback here: https://github.com/jaeger25/Html5Video/issues/18#issuecomment-38365443