You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/08/09 14:07:18 UTC

[GitHub] desmeit opened a new issue #171: Playing Audio on Android not working and NO message

desmeit opened a new issue #171: Playing Audio on Android not working and NO message
URL: https://github.com/apache/cordova-plugin-media/issues/171
 
 
   I tried the following code:
   
                                         ```
            var mediaPlayneu = new Media("/android_asset/www/sound/beepshort.mp3",
   						// success callback
   						function() {
   							alert("play3 success");
   						},
   				
   						// error callback
   						function(err) {
   							alert(JSON.stringify(err)); 
   						});
   						
   						mediaPlayneu.play();
   ```
   
   I get no message and the audio is not playing. What could be the issue?
   I tested on Android 5.0, Phonegap cli-6.5.0 and cordova-media-plugin 5.0.2.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org