Audio will not play in WebGL without having interaction with the web page due to browser autoplay policy. You need to call SetVolume() API after you interact with the screen.
You may refer to HISPlayer Sample. After building the project for WebGL, we interact first with the web page by clicking the "Start" button. Then, SetVolume API is called through the script HISPlayerController.cs after interacting with the web page.