added parameter to iframe allowing linking to the Jitsi mobile app with user interaction

This commit is contained in:
Tipuch 2023-03-07 16:14:44 +07:00
parent 077a88a803
commit 827a5e137f
1 changed files with 2 additions and 1 deletions

View File

@ -393,7 +393,8 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
this._frame.name = frameName;
this._frame.id = frameName;
this._setSize(height, width);
this._frame.sandbox = 'allow-scripts allow-same-origin allow-popups allow-forms allow-downloads';
this._frame.sandbox = 'allow-scripts allow-same-origin allow-popups allow-forms allow-downloads\
allow-top-navigation-by-user-activation';
this._frame.setAttribute('allowFullScreen', 'true');
this._frame.style.border = 0;