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

Failed to play audio file located in subfolders in Documents

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.0
    • 1.3.0
    • cordova-ios
    • iOS SDK 5.0

    Description

      i have an audio file test.mp3.

      when the file located in "Documents" folder, and i create my media object like this :media = new Media('documents://test.mp3'); Everything works fine.

      but when my audio file located in a subfolder in "Documents" folder, say "Documents/data", and i create my media object like this: media = new Media('documents://data/test.mp3'), i have this error in console: Failed to initialize AVAudioPlayer: (null) . And error code = 4

      Attachments

        Activity

          People

            becka11y Becky Gibson
            peacemoon Binh An Tran
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: