cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghenry22 <>
Subject [GitHub] cordova-plugin-media pull request: Streaming & Background threadin...
Date Sun, 22 Nov 2015 01:56:59 GMT
Github user ghenry22 commented on the pull request:
    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.
    > On 21 Nov 2015, at 8:29 PM, dduwab <> 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/.../
    > Found resource '/Users/.../Devices/.../data/Containers/Bundle/Application/.../'
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 or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message