Audio problem in HTML game | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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
1 ответ
+ 5
‎   ‎ ‎  Thanks, I didn't know that, that are perfect news 👍
10th Feb 2021, 9:54 AM
Dominik Vladař
Dominik Vladař - avatar