I'm trying to get my first game/application working on itch.io. One feature is a "copy to clipboard" which should copy a generated list of 9 emoji to the user's clipboard. It works fine on my local PC and browser, but when hosted on itch.io it fails with this error:
Failed to copy text: NotAllowedError: Failed to execute 'writeText' on 'Clipboard': The Clipboard API has been blocked because of a permissions policy applied to the current document. See https://googl/EuHzyv for more details.
When followed, that goo.gl link shows:
404. <ins>That’s an error.
</ins>
The requested URL was not found on this server. <ins>That’s all we know.</ins>
Is there a workaround?