Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(external_api): allow clipboard-write

Hristo Terezovb1a3c5cd7b5e
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index a728afae55..c67656c9f0 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -320,7 +320,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
const frameName = `jitsiConferenceFrame${id}`;
this._frame = document.createElement('iframe');
- this._frame.allow = 'camera; microphone; display-capture; autoplay;';
+ this._frame.allow = 'camera; microphone; display-capture; autoplay; clipboard-write';
this._frame.src = this._url;
this._frame.name = frameName;
this._frame.id = frameName;
diff --git a/react/features/base/premeeting/components/web/CopyMeetingUrl.js b/react/features/base/premeeting/components/web/CopyMeetingUrl.js
index fc636ac7c5..c434416cb8 100644
--- a/react/features/base/premeeting/components/web/CopyMeetingUrl.js
+++ b/react/features/base/premeeting/components/web/CopyMeetingUrl.js
@@ -7,6 +7,7 @@ import { translate } from '../../../i18n';
import { Icon, IconCopy, IconCheck } from '../../../icons';
import { connect } from '../../../redux';
import { copyText, getDecodedURI } from '../../../util';
+import logger from '../../logger';
type Props = {
@@ -156,6 +157,9 @@ class CopyMeetingUrl extends Component<Props, State> {
.then(() => {
this._showLinkCopied();
window.setTimeout(this._hideLinkCopied, COPY_TIMEOUT);
+ })
+ .catch(e => {
+ logger.error(e);
});
}