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

Permissions policy violation: picture-in-picture is not allowed in this document #412

Open
agjs opened this issue May 10, 2024 · 0 comments

Comments

@agjs
Copy link

agjs commented May 10, 2024

I have permissions policy set as

Permissions-Policy: camera=(self), geolocation=(self), picture-in-picture=(self), microphone=(self)

image

This is what I get when I render a YouTube video using react-youtube. It's unclear if this permissions is required directly by YouTube or something to do with the package itself.

As described under Permissions-Policy: picture-in-picture:

The HTTP Permissions-Policy header picture-in-picture directive controls whether the current document is allowed to play a video in a Picture-in-Picture mode.

Is there a way to disable picture-in-picture mode so I don't get this error.

Cheers

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

1 participant