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) sandbox the iframe

Saúl Ibarra Corretgé43b91b16dab6
diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js
index ab74a53ba6..7aa41eb497 100644
--- a/modules/API/external/external_api.js
+++ b/modules/API/external/external_api.js
@@ -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;