as I am developing a game, it is necessary to start with a sound playing ...
Is it possible to use howler.js to solve this problem? https://howlerjs.com/
Code: Select all
->soundjs.min.js:18 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu
a._createAndPlayAudioNode @ soundjs.min.js:18
->soundjs.min.js:18 The AudioContext was not allowed to start. It must be resumed (or created) after a user gesture on the page. https://goo.gl/7K7WLu