Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 830 Bytes

audio-autoplay.md

File metadata and controls

13 lines (8 loc) · 830 Bytes

Audio Autoplay

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.