You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Dave Taylor (JIRA)" <ji...@apache.org> on 2014/07/08 12:02:05 UTC

[jira] [Commented] (CB-6003) Cant play files from the assets folder Android

    [ https://issues.apache.org/jira/browse/CB-6003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054787#comment-14054787 ] 

Dave Taylor commented on CB-6003:
---------------------------------

I've found this exact same frustration over the last day as described (http://stackoverflow.com/questions/24626763/cordova-media-wont-play-mp3-from-www)  and come to the same realisation as you are describing. This implementation seems to need a bit of an overhaul to play nicely with how the file plugin works

> Cant play files from the assets folder Android
> ----------------------------------------------
>
>                 Key: CB-6003
>                 URL: https://issues.apache.org/jira/browse/CB-6003
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Media
>         Environment: Android
>            Reporter: cesine
>              Labels: audio
>
> I've been trying to pin this down. 
> I think this commit brings me to conclude something is odd with playing audio from assets on android. 
> https://github.com/cesine/TestingCordovaAudio/commit/9556fd523f68c6ec2f4659b9476f3e39a3199c33
>  The same audio file plays fine
> * if its played from a http:// url
> * if its played in Native Android
> Tested with Android 4.3, I would be ecstatic if it was just my tablet but I dont have any others to test with right now... 
> {code}
> $ cordova --version
> 3.3.1-0.1.2
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)