Answer the question
In order to leave comments, you need to log in
Why don't sounds work on ajax request in opera?
I send a request to the database every 30 seconds through setinterval to check for new records, and if the record is found, I output the record and the sound of the notification.
When adding records - the sound appears only when the tab is active. What could be the problem?
Answer the question
In order to leave comments, you need to log in
Browsers significantly slow down the execution of setInterval and setTimeout in inactive tabs. Most likely, this is the issue.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question