Notice: The Monaca & Onsen UI Community Forum is shutting down.

For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.

Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.

Beep is not working in Default Project

  • Am new to Cordova and Monaca Cloud IDE. I have edited the phonegap-demo.html so that the vibrate button will instead do the beep(). But it is not working. Is there any thing else to do. Also I had checked to replace the content of a span dynamically, which didn’t work. Not even console.log is working. The platform chosen is android. Probably it’s something fundamental, but not able to figure out. Any tips are appreciated. Thank you!

    var beep = function() {
        var my_media = new Media("beep.wav",
            // success callback
            function() {
                console.log("playAudio():Audio Success");
            // error callback
            function(err) {
                console.log("playAudio():Audio Error: "+err);


    <a href="#" class="btn large" onclick="beep();">Beep/Vibrate</a>