[
https://issues.apache.org/jira/browse/CB-5848?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15945427#comment-15945427
]
BeTop commented on CB-5848:
---------------------------
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.
> Support for Android expansion files
> -----------------------------------
>
> Key: CB-5848
> URL: https://issues.apache.org/jira/browse/CB-5848
> Project: Apache Cordova
> Issue Type: New Feature
> Components: Android
> Affects Versions: 3.3.0
> Reporter: Valerio Santinelli
> Assignee: jcesarmobile
> Priority: Minor
>
> As you might already know, Android .APK files cannot exceed 50Mb if you want
> to make them available on Google Play Store.
> For bigger apps, you can add one or more expansion files (.obb)
> The request would be to have Cordova automatically put the content of the www
> folder into an obb file so that all the assets won't be bundled with the app
> itself.
> That way, even if the assets are huge, you can still publish on Google Play
> Store.
> Right now there is no way to publish any app that exceeds 50Mb. I have seen
> some OS projects trying to deal with this, but right now there's no working
> solution.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]