Github user ghenry22 commented on the pull request: https://github.com/apache/cordova-plugin-media/pull/62#issuecomment-158700040 It's trying to play a local file as a stream due to the path being used by the look of it. Please try using the cordova.file.* paths to get a cdvfile:// path to your audio file and play with that path, should resolve your issue and make sure that your app works properly across platforms and installs as the path is consistent. Check the file plugin for details on the file paths. Cheers Gaven > On 21 Nov 2015, at 8:29 PM, dduwab <notificati...@github.com> wrote: > > I'm having trouble hearing sound from a local mp3 on iOS. I can play a sound from a http:// address but not from the local file tree www/assets/titleMusic.mp3 > Resetting plugins due to page load. Log: > Finished load of: file:///Users/.../Devices/.../data/Containers/Bundle/Application/.../ccgame.app/www/main.html > Found resource '/Users/.../Devices/.../data/Containers/Bundle/Application/.../ccgame.app/www/assets/titleMusic.mp3' in the web folder. > Playing audio sample 'assets/titleMusic.mp3' > Playing stream with AVPlayer > > Yet I don't hear any sound in this case. I'm new to iOS development but I did my best to trace through the code and no errors appeared and everything looked like it should be playing. > Again, there were no problems playing/hearing a file off the web. > Thanks. > > â > Reply to this email directly or view it on GitHub. >
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org For additional commands, e-mail: dev-h...@cordova.apache.org