You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Gaven Henry (JIRA)" <ji...@apache.org> on 2016/03/23 03:12:25 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=15207740#comment-15207740 ]
Gaven Henry commented on CB-10232:
----------------------------------
Just found this:
ios won't play files with the file:// prefix according to the below comment. I would suggest using cdvfile:// urls
https://issues.apache.org/jira/browse/CB-7007?focusedCommentId=14042090&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14042090
> 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: Plugin Media
> Environment: iOS
> Reporter: Mestre Muten
> Priority: Critical
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org