I need help with <audio> | Sololearn: Learn to code for FREE!


I need help with <audio>

How can I make the audio play after a few seconds? I want it to be invisible (transform:scale(0);) It shows me an error if I don't tap anything until the audio starts. How to avoid that? https://code.sololearn.com/WnBS4gucm9gY/?ref=app //Randomly chosen a audio

6/29/2019 9:46:42 AM

🍇 Alex Tușinean 💜

5 Answers

New Answer


Use embed https://code.sololearn.com/WHQmb1R2Zt4J/?ref=app



Calviղ how to make an delay for it? I tried to set autoplay to false , but it still starts when it is loaded.


Use setTimeout to call callback with insert embed code. https://code.sololearn.com/WX5qZeW4xcHm/?ref=app


Calviղ bro why I dont listen that music sounds I dont know what is the problem with is a device problem or anything everytime it happens