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

Allow web-share attribute on the iframe #199

Open
alykat opened this issue Sep 5, 2023 · 1 comment
Open

Allow web-share attribute on the iframe #199

alykat opened this issue Sep 5, 2023 · 1 comment

Comments

@alykat
Copy link
Member

alykat commented Sep 5, 2023

More info here:
https://developer.chrome.com/blog/web-share-api-in-third-party-iframes/

Otherwise, attempts to use the Web Share API (as for the diploma at the end of the Planet Money Summer School quiz) are blocked.

image

This might be a matter of adding it to the allowed iframe parameters: https://blog.apps.npr.org/pym.js/api/pym.js/1.3.2/module-pym.Parent.html

as described here in the documentation: https://blog.apps.npr.org/pym.js/#auto

@thomaswilburn
Copy link

Of course, you know what supports the allow attribute directly...

(Once it's republished to npm, that is, or you could install from @civicnews/sidechain which is up to date.)

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

2 participants