Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes browsers don't let call ringing sounds play #11457

Closed
dbkr opened this issue Nov 21, 2019 · 1 comment
Closed

Sometimes browsers don't let call ringing sounds play #11457

dbkr opened this issue Nov 21, 2019 · 1 comment

Comments

@dbkr
Copy link
Member

dbkr commented Nov 21, 2019

When we try to play sounds, eg. the call ringing sound, sometimes the browsers will decide we are not allowed to do that, eg. chrome goes:

Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first. https://goo.gl/xX8pDD

According to the link, autoplay is supposed to be allowed if the user has interacted with the domain (ie. click or tapped) but empirically this is not the case (I am still getting this error when calling myself after clicking multiple times within Riot, even switching rooms).

@turt2live
Copy link
Member

Duplicate of #7657

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants