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
Invalid State Error in Firefox #132
Comments
|
Thanks for the bug report. Do you still get this error if you add |
|
Adding |
|
ok and to confirm: this is FF only? |
|
I'm not totally sure, right now I only tried FF and Chrome, in Chrome it works without any problem |
|
Ok, I'll escalate on our side. Feel free to reach out on Intercom if it's urgent. |
|
As of today this seems to not be an issue anymore. I vaguely remember having a conversation about this issue, but that's a while ago obviously. Closing now. |
I have a React application using Daily.co JS in iframe mode, I've implemented a custom button to start screen sharing, but when using in Firefox I receive the following error:
getDisplayMedia must be called from a user gesture handler.Expected behavior
Calling
startScreenShare()from an event handler should not trigger the errorDescribe the bug (unexpected behavior)
Calling
startScreenShare()in firefox throws the following error: InvalidStateError getDisplayMedia must be called from a user gesture handler.All the following calls throws with error: The request is not allowed by the user agent or the platform in the current context.
Steps to reproduce
This is a brief summary of my component:
System information
The text was updated successfully, but these errors were encountered: