mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 11:22:31 +00:00
feat(external-api) drop iframe sandbox
It has created more trouble than it sat to solve, I'm dropping it for now so we can re-evaluate.
This commit is contained in:
committed by
Hristo Terezov
parent
8836669c9f
commit
ca1c00acb0
8
modules/API/external/external_api.js
vendored
8
modules/API/external/external_api.js
vendored
@@ -393,14 +393,6 @@ 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',
|
||||
'allow-top-navigation-by-user-activation'
|
||||
].join(' ');
|
||||
this._frame.setAttribute('allowFullScreen', 'true');
|
||||
this._frame.style.border = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user