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

Picture in Picture with getUserMedia on iPhone Safari #206

Closed
virafpatrawala opened this issue Aug 30, 2021 · 2 comments
Closed

Picture in Picture with getUserMedia on iPhone Safari #206

virafpatrawala opened this issue Aug 30, 2021 · 2 comments

Comments

@virafpatrawala
Copy link

I'm trying to use the Picture in Picture API with a video element receiving a getUserMedia stream. This is working well on the PC (safari and chrome) but I am getting an error on iPhone Safari:

Unhandled Promise Rejection: NotSupportedError: The video element does not support the Picture-in-Picture mode.

Wanted to confirm if this is just not supported, or am I making some mistake. If so, can you please suggest any work-arounds for the same?

Thanks!

@beaufortfrancois
Copy link
Collaborator

@jernoble may know

@eric-carlson
Copy link

Unfortunately, iOS WebKit has to block PiP for video elements backed by a MediaStream because the system doesn't allow camera capture when an application is in the background.

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

No branches or pull requests

3 participants