-
Notifications
You must be signed in to change notification settings - Fork 10
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
Uncaught DOMException: Failed to construct 'PresentationRequest': The document is sandboxed and lacks the 'allow-presentation' flag. #3
Comments
Hey @nickgayo12 To solve this issue, you simply need to add allow-presentation to the sandbox attribute on the iframe.
|
@antoineguillaume Is there an easy way to do that or do you have to extend the package somehow? |
Added allow-presentation |
That worked for me. Thanks @nasa8x |
We're loading: |
How can I do it if I create the iframe with the YouTube's Iframe Player API? |
I have the same issues as @scottnc27603 and @FuruholmAnton . |
Me too, same issue. I've been going round in circles trying to fix it. |
I've got the same problem. It seems like something changed, this error was not displayed at the time i've implemented it. |
This package for me is awesome, can embed different video links in just one element, Thanks to this.
However, I'd encounter an error. Youtube embed links produce error it says. Failed to construct 'PresentationRequest': The document is sandboxed and lacks the 'allow-presentation' flag.
Thanks.
The text was updated successfully, but these errors were encountered: