How do i make music play on my website?

how do i make music automatily play after getting into the website? I NEED IT RIGHT NOW

I would look at this to play audio using JavaScript HTMLAudioElement: Audio() constructor - Web APIs | MDN

it’s a browser setting

gotta set it to allow autoplay audio

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.