cordova-plugin-nativeaudio
cordova-plugin-nativeaudio copied to clipboard
Can support audio file in obb (android expansion)?
I installed xapkreader plugin (github.com/agamemnus/cordova-plugin-xapkreader).
so
But when I tried to play with this plugin. I got FileNotFound error.
var url = "content://com.flinklearning.marshalladult.expansion/common/Languages/English/LoginHelp/help_team.mp3";
window.plugins.NativeAudio.preloadSimple( 'click', url, function(msg){
console.log("okay" + msg);
}, function(msg){
console.log( 'error: ' + msg );
});
window.plugins.NativeAudio.play( 'click' );
could you help for this? Thanks