[
https://issues.apache.org/jira/browse/CB-11593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15382353#comment-15382353
]
Vladimir Kotikov commented on CB-11593:
---------------------------------------
[~zyf0330], it's not very clear from the issue description what are you trying
to do. What is {{audio}}? Is this an HTML {{<audio>}} element? Also are you
sure that {{cdvfile://localhost/temporary/path/to/music}} exists and has
[supported audio
format|https://developer.android.com/guide/appendix/media-formats.html]. Also,
it would be great if you could attach a sample project that would help us
reproduce the issue.
> 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
>
> ```
> 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: [email protected]
For additional commands, e-mail: [email protected]