Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error - CordovaInterface.getThreadPool() or FBIOGET_FSCREENINFO? #2

Open
aaronpeloquin opened this issue Dec 16, 2013 · 4 comments
Open

Comments

@aaronpeloquin
Copy link

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?

@aaronpeloquin
Copy link
Author

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?

@adrian205cm
Copy link

Did you ever figure this one out? I'm getting this error in Android 4.4 only... 4.2 works fine :x

@huaixiaozi
Copy link

I got the same problem,please help

@adrian205cm
Copy link

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: jaeger25/Html5Video#18 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants