Loading sound effect from URL not working

This is the code:

https://playground.babylonjs.com/#PCY1J#123

It’s very simple but I don’t know what is going wrong.

When I load it in my project, it shows that icon in the left up corner of “muted” everytime so how do I unmuted by default?

This might be the problem:

image

Yes, you can’t start programmtically a sound music (or a video) without having the user initiates it in some way (by clicking on a button for eg).

Hi there, remove ?dl=0 after .wav and it should work.

1 Like

Thanks hero.

Solved version:
https://playground.babylonjs.com/#PCY1J#127