Permissions policy violation: picture-in-picture is not allowed in this document
Opened this issue · 0 comments
agjs commented
I have permissions policy set as
Permissions-Policy: camera=(self), geolocation=(self), picture-in-picture=(self), microphone=(self)
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