Hi Evgene
That works, I have just built an Android app and the audio plays. Thank you very much for your help.
Hi Evgene
That works, I have just built an Android app and the audio plays. Thank you very much for your help.
Thanks Evgene
Sorry, I assumed I should use the ANDROID tree for the app. I didn't think it through - of course the WEB_RESOURCES must be available too.
I've tested as you suggest, and made some progress, but it's very frustrating:
I have a testbed with audio, video and image displayed on a page.
Resources are in the path WEB_RESOURCES/files/media.
I am referring to them in the app as: files/resources/media/xxx.yyy
When browsed as a web app to a windows or android device all media plays fine.
When exported as an android app and run on a Nexus 7 under Android 4.4.4, and a Galaxy S2 under 4.1.2 the following problems occur:
Audio: File plays, but progress bar is not updated
Video: Poster appears for the first time, when the play icon is clicked, the poster disappears, the player shows the double bar pause icon, but so sound or video is played and the progress bar does not update.
Weinre reports:
initializeNativePlayer with: [relative path to audio file]
autoplay: false
Bind UI events
Weinre shows:
playAudio():Audio Success
when the audio is played, it shows nothing when the video is clicked.
I'm using external resources 2.0, and have tried diferent Min. SDK versions up to 4.2.x.
In my main app I'm playing media from the path file:///storage/sdcard0/ without any issue, so it looks like it's a path issue breaking the sound and video players.
I guess this isn't an Appery issue, but I'd very much appreciate any insight you can give.
I can send you the testbed app if you like, let me know how.
Thanks
John
I can confirm, and add too what John has said about Audio Playing.
Progress Bar does not update and if you press pause then play again it restarts from the beginning.
John, David,
We've tested and it seems that you are right. It looks like a bug, we'll report it. Thank you very much, we'll get back to you with the update when we have some info from our development team.
Thanks for following this up Evgene,
It would save me a huge amount of work if I could bundle media resources into my app.
Just tested this again, still the same problems I reported in the comment above. Any ideas about timescale to fix the problem? I'm going to have to resurrect my file download code if a fix doesn't come soon
Thanks
John
Hi John,
You can see this thread https://getsatisfaction.com/apperyio/...
Ihor - I think your link is wrong?
Hello John,
Yes, you are right - the link is wrong and we still do have this bug unresolved. I've made a request to our development team and will get back to you with the update when I have any news from them. Sorry for the inconveniences.
Hi Evgene, any news on this bug ? 3 months on ! any fixes ?