[ https://issues.apache.org/jira/browse/CB-11593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382438#comment-15382438 ]
zhuisui commented on CB-11593: ------------------------------ It is audio element, and that file is effective whose owner and group is specific app, so music app cannot play it. But webpage should be able to access it. As for demo, I just record a piece of audio and save it as file with Cordova file plugin. This blob from recorder can be played by audio element with resolved as dataURL. But cdvfile URL leads to error above. > audio set src to cdvfile://localhost/temporary/path/to/music not work > --------------------------------------------------------------------- > > Key: CB-11593 > URL: https://issues.apache.org/jira/browse/CB-11593 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: cordova 6.2.0 > Reporter: zhuisui > Labels: wfc > > ``` > Error configuring data source: java.lang.RuntimeException: setDataSource > failed: status = 0x80000000 > > java.lang.RuntimeException: setDataSource failed: status = 0x80000000 > at > android.media.MediaMetadataRetriever._setDataSource(Native Method) > at > android.media.MediaMetadataRetriever.setDataSource(MediaMetadataRetriever.java:105) > at > org.chromium.content.browser.MediaResourceGetter.configure(MediaResourceGetter.java:406) > at > org.chromium.content.browser.MediaResourceGetter.configure(MediaResourceGetter.java:258) > at > org.chromium.content.browser.MediaResourceGetter.extract(MediaResourceGetter.java:139) > at > org.chromium.content.browser.MediaResourceGetter.extractMediaMetadata(MediaResourceGetter.java:119) > 07-18 14:27:00.221 17130-17505/com.caitian.test E/cr_MediaResource: Unable to > configure metadata extractor > ``` > I got this error when set {{audio.src}} to > {{cdvfile://localhost/temporary/path/to/music}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org