Items 1-12 out of 19652 displayed
I had to experiment with Chrome playing sounds. It turned out that even after a user gesture (such as click) it waits for 1000ms and if no sound was played it throws the exception above. In my...
Change:
setInterval(getMessages(), queryInterval);
To:
setInterval(getMessages, queryInterval);
You just have to chain the promise with another then
.
Call this way:
loginOffline('myname', 'mypassword').then(result =>{
if(result){
//do something...
It's not possible to currently have the functionality built into the browsers, but with a small hack, it's possible: