Skip to content
This repository was archived by the owner on Dec 22, 2023. It is now read-only.
Discussion options

You must be logged in to vote

In the next build you will be able to play audio, like this:

        document.on("click", "button#play", async function(evt,btn) {
            btn.state.disabled = true;
            var audio = await Audio.load(__DIR__ + "/hasta-lavista-baby.mp3");
            await audio.play();
            btn.state.disabled = false;
        });

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by GirkovArpa
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants