I have a gaming website and I'm using this following audio element to automatically play a one-two seconds long audio in the background on certain pages after they are loaded:
<audio autoplay hidden>
<source src="gallery/Welcome.MP3" />
</audio>
It works, but only if I actually click on the menu to load the page. If I type the website/webpage in the browser, or use a direct link, it never plays. Can someone tell me why it is and how I can make it play in all cases?