[
https://issues.apache.org/jira/browse/CB-12611?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945434#comment-15945434
]
BeTop commented on CB-12611:
----------------------------
I installed xapkreader plugin correctly, so <audio> tag works fine.
but when I tried to play with Media plugin, It returned error code 1.
so this should be solved.
> Support for Android expansion Audio file
> ----------------------------------------
>
> Key: CB-12611
> URL: https://issues.apache.org/jira/browse/CB-12611
> Project: Apache Cordova
> Issue Type: Bug
> Components: Android
> Affects Versions: 3.5.0
> Reporter: BeTop
>
> Hello, How are you doing?
> Today I got problem to play audio file of obb file.
> It works <audio controls
> src="content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3"></audio>
> But Media plugin is not working. so we need solution.
> var url =
> "content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3";
> var my_media = new Media(url,
> // success callback
> function()
> { console.log("playAudio():Audio Success"); }
> ,
> // error callback
> function(err)
> { console.log("playAudio():Audio Error: ", err); }
> );
> // Play audio
> my_media.play();
> I got error code=1.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]