Allow web-share attribute on the iframe
Opened this issue · 1 comments
alykat commented
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.
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 commented
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.)