You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andrew Grieve (JIRA)" <ji...@apache.org> on 2014/06/24 16:28:24 UTC
[jira] [Commented] (CB-7014) Android: HTML5 audio can play remote
but not local audio source
[ https://issues.apache.org/jira/browse/CB-7014?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042167#comment-14042167 ]
Andrew Grieve commented on CB-7014:
-----------------------------------
I believe this is a bug in WebView. You can work around it by using FileTransfer to copy your audio file to the filesystem somewhere and then point to that in your <audio> via its file: URL.
> Android: HTML5 audio can play remote but not local audio source
> ---------------------------------------------------------------
>
> Key: CB-7014
> URL: https://issues.apache.org/jira/browse/CB-7014
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Environment: Android 4.4.3
> Reporter: Ashley Gullen
>
> On Android 4.4.3 using the Chromium 33-based webview, HTML5 audio can play audio from a HTTP source, but not local audio in the same package.
> Minimal repro (this zip should be directly uploadable to PhoneGap Build): https://dl.dropboxusercontent.com/u/15217362/webviewaudiotest.zip
> I don't know if this is a Chromium bug or PhoneGap bug, so I'm reporting them both. Link to Chromium report: https://code.google.com/p/chromium/issues/detail?id=387898
> Impact: using PhoneGap to publish HTML5 games means they cannot play any audio bundled in with the game. The Media plugin works for this, but is non-standard and has a different feature set, making porting harder.
--
This message was sent by Atlassian JIRA
(v6.2#6252)