+ 9

Unable to make audio autoplay in my code

I have created a code in which I wanted to add autoplay audio feature but that's not working then i added click function on body to start but I wanted to autoplay the audio..... This is my code.... https://code.sololearn.com/W6Nz79tL9FUo/?ref=app

22nd Jan 2022, 7:21 AM
Pallavi Bhardwaj
Pallavi Bhardwaj - avatar
3 Respostas
+ 3
You could autoplay using AudioContext API or JS libraries such as Howler.js
22nd Jan 2022, 11:14 AM
Gordon
Gordon - avatar
22nd Jan 2022, 8:12 AM
Jayakrishna 🇮🇳