Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
cordova-plugin-file 4.1.0 "File"
cordova-plugin-media 2.1.0 "Media"Installed platforms: android 5.1.0
Description
I am runnig a simple test from the code on github, the sound file plays okbut the success function does not get fired.
Code below:
var my_media = new Media("file:///android_asset/www/hello2.wav",
// success callback
function ()
,
// error callback
function (err)
,
function ()
);
// Play audio
my_media.play();