-
Notifications
You must be signed in to change notification settings - Fork 17
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
How do we get non-image files? #10
Comments
Possibly fixed the second issue. File.exists (via File plugin) doesn't work for APK expansion files. The code then tries setting the file to
|
Have you try with an html audio tag to play your audio file or is it a necessity to use le Media plugin? If the File plugin always concatenates files paths with external storage directory's base path it's a big problem for its compatibility with this plugin... :s |
I have to use the Media plugin. The audio tag doesn't run audio without click events (very bad for games..), can't play concurrent audio, and can't play short pieces of audio without a .5-1s delay. It's unusable for games. The File plugin does not always concatenate -- it does this only when |
I added a pull request although I barely know what I'm doing...: |
Ok. It seems like the file really just isn't visible. The audio elements aren't being played. |
Possibly this will help to fix it? (I don't know..) https://github.com/mcfarljw/cordova-plugin-expansion/blob/master/src/android/ExpansionPlugin.java |
Okay. I did a day-long workaround around the Media issue: I am now using a modified version of @goldfire's howler.js (with preload buffers for long files) and loading my files via XMLHttpRequest and AudioContext: |
Is it possible with this plugin? Trying to read audio, .json, and .css files just seems to crash everything.
Edit: Here's a log.
Edit:
Possibly fixed THAT one (will mention how later if this pans out), but here's another one:
Note that I am using the Media plugin on this.
The text was updated successfully, but these errors were encountered: