+ 5

Audio problem in HTML game

Is there any way how to play audio in my web game anytime? Using Chrome for testing, it allows me only to play audio if user interacts with page, for example clicks somewhere. But I need to play audio in another cases, like when some time runs out, when player is attacked etc.

10th Feb 2021, 9:33 AM
Dominik Vladař
Dominik Vladař - avatar
3 Risposte
+ 5
‎   ‎ ‎  Thanks, I didn't know that, that are perfect news 👍
10th Feb 2021, 9:54 AM
Dominik Vladař
Dominik Vladař - avatar
Popolare oggi
.
1 Votes
What?
0 Votes
HTML
0 Votes
Web
0 Votes
Quiz duel
0 Votes
FRC Coding?
1 Votes
help
0 Votes
AI
2 Votes
APIs
1 Votes