You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ed Wrede (JIRA)" <ji...@apache.org> on 2014/05/22 08:46:38 UTC
[jira] [Created] (CB-6733) Media Capture plugin returns file path
of file:/ instead of file:///
Ed Wrede created CB-6733:
----------------------------
Summary: Media Capture plugin returns file path of file:/ instead of file:///
Key: CB-6733
URL: https://issues.apache.org/jira/browse/CB-6733
Project: Apache Cordova
Issue Type: Bug
Components: Plugin Media Capture
Affects Versions: 3.4.0
Environment: Cordova 3.4
Media-Capture plugin 2.9
Android build
Reporter: Ed Wrede
I noticed that when returning the file path from the camera plugin, the URI is returned as file:///
When I extracted the full path (as shown in the docs) from an audio recording using the media-capture plugin, the path was returned as file:/
When I used the media plugin to attempt to play the file, it would throw an error... To experiment I decided to replace file:/ with file:/// and this resolved the issue instantly.
I am not sure whether this issue pertains to the media-capture plugin returning a file path that isn't quite "to spec" or if the issue is in the media plugin not being able to play a file from a path that isn't quite "to spec".
Just thought I'd report this issue either way.
--
This message was sent by Atlassian JIRA
(v6.2#6252)