Forum Discussion
Unable to use Clipboard API in custom Teams App
- May 09, 2022
This does unfortunately not work, I'm pretty sure the problem is that teams doesn't allow the Clipboard API within the embedded page container.
And i think there currently is no way to get that permission.
This does unfortunately not work, I'm pretty sure the problem is that teams doesn't allow the Clipboard API within the embedded page container.
And i think there currently is no way to get that permission.
- Prasad_Das-MSFTMay 11, 2022
Microsoft
OliKIspan -
Technically, this would be supported by the browser Permissions Policy, by adding an option to theallowattribute of the embeddediframe.
https://web.dev/async-clipboard/#permissions-policy-integration
Please also refer similar thread: Clipboard API has been blocked because of a Feature Policy applied to the current document. iframe on Chrome · Issue #1767 · instructure/canvas-lms (github.com)