I’d like to have an audio file play automatically (its a voiceover) when someone comes to my website. Has anyone done this or have any ideas how I can make it work? thank you
hey, this is possible yes. But you cannot have it be playing with autoplay as browsers will block autoplay if the user has not yet been interacting with the page. what you can do is to have a kind of a button, which says “to play sound, pls click anywhere” and use this as a trigger to play an audiofile.
“html5 audio tag” and “play audio on click” “+stackoverflow” are the search tearms that will guide you in the right direction
Thanks so much for this. Im going to try this now