moonstone sound play

Hi to all i'm a newbie in this forum.

I'm trying to play a sound programmatically in moonstone app, but there no example on "Enyo 2 Sampler".
Are there some examples on that?

Thank you in advance.



  • i've added in view.js this :
    {name: "suono", kind: "enyo.Audio",id:"audio", src: "", autoplay:true,controls:true,showing: true}

    In javascript this :
    var myAudio = document.getElementById("audio");

    And I've realized that my code doesn't works in Chromium but it works in emulator.. solved issue.

    Thank you anyway
Sign In or Register to comment.