You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/11/24 11:14:00 UTC
[jira] [Closed] (CB-10232) Media Plugin - IOS: Can't play files
using file system URL (file:///var/modile/...)
[ https://issues.apache.org/jira/browse/CB-10232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-10232.
-----------------------------
Resolution: Won't Fix
Closing as won't fix
Use cdvfile or remove file:// from the url
The path identifier changes on every install, when in development, it changes just by reinstalling, so don't rely on it stroing it, you should always get the current path to the file
> Media Plugin - IOS: Can't play files using file system URL (file:///var/modile/...)
> -----------------------------------------------------------------------------------
>
> Key: CB-10232
> URL: https://issues.apache.org/jira/browse/CB-10232
> Project: Apache Cordova
> Issue Type: Bug
> Components: cordova-plugin-media
> Environment: iOS
> Reporter: Mestre Muten
> Priority: Major
> Labels: file, ios, media, url
> Original Estimate: 2h
> Remaining Estimate: 2h
>
> Can't play files using file system URL, same returned by FileEntry.toURL().
> Plugin returns error:
> {code}Cannot use audio file from resource file:///var/mobile/...{code}
> Tested on iOS 7.1.2 and 9.0.2
> {code}
> Cordova iOS version: 3.9.2
> Plugin versions:
> cordova-plugin-file 3.0.0 "File"
> cordova-plugin-media 1.0.1 "Media"
> {code}
> Plugin works well with full absolute path and cdvfile path btw.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org