Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-13970

iOS Playing m4a file from internet fails with error code 1

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-plugin-media
    • Labels:
      None

      Description

      When I attemp to play a file obtained from internet in my app, I got this MediaError object in the Xcode console output.

       *

      {"message":"Cannot use audio file from resource 'http://server.com/audio.m4a'","code":1}

      *

      I change the url for security reasons, but on android it plays just fine, with the code and same url.

       

      I'm using latest stable version 5.0.2

       

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              francogvp Franco Valerio
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: