From cced41665da164c0ef8cb2a90eef9823f5962931 Mon Sep 17 00:00:00 2001 From: Maciej Zakrzewski <48533475+Etav99@users.noreply.github.com> Date: Thu, 2 Feb 2023 10:45:48 +0100 Subject: [PATCH] fix(local-recording) after IFrame sandboxing Fix local recording saving not working after IFrame sanbox introduciton. The allow-downloads flag was missing. --- modules/API/external/external_api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/API/external/external_api.js b/modules/API/external/external_api.js index 2c2487f6a..5a332ab4d 100644 --- a/modules/API/external/external_api.js +++ b/modules/API/external/external_api.js @@ -391,7 +391,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 allow-popups allow-forms'; + this._frame.sandbox = 'allow-scripts allow-same-origin allow-popups allow-forms allow-downloads'; this._frame.setAttribute('allowFullScreen', 'true'); this._frame.style.border = 0;