feat(external-api) sandbox the iframe
Give it the minimum amount of permissions necessary to run.
This commit is contained in:
parent
726fd3f8a1
commit
43b91b16da
|
@ -392,6 +392,7 @@ 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';
|
||||
this._frame.setAttribute('allowFullScreen', 'true');
|
||||
this._frame.style.border = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue