Help me to add music when someone open my site

Hi all,

As we know most of browser disable music auto-play, but I need this.

Can you help me how to add auto-load modal, and when someone click close button on modal, music automatically play?

Or maybe another way to play music when someone open my site?

Thank you.

If you really want music playing, I would suggest you favour an opt-in method instead of something automatic. If a website started playing music automatically, I would close it straight away. Not to mention the negative effects for mobile users.

Since your vague about what your situation or music is, its difficult to suggest alternative approaches. For example, one I have seen is an audio player thats fixed at the bottom of the viewport, where a user is able to play / stop music.

2 Likes

I would be interested in this as well. Have you find a solution?