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

Media Plugin - IOS: Can't play files using file system URL (file:///var/modile/...)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • cordova-plugin-media
    • iOS

    • Patch

    Description

      Can't play files using file system URL, same returned by FileEntry.toURL().

      Plugin returns error:

      Cannot use audio file from resource file:///var/mobile/...

      Tested on iOS 7.1.2 and 9.0.2

      Cordova iOS version:  3.9.2
      
      Plugin versions:
      cordova-plugin-file 3.0.0 "File"
      cordova-plugin-media 1.0.1 "Media"
      

      Plugin works well with full absolute path and cdvfile path btw.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mestremuten Mestre Muten
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified