fix(local-recording) after IFrame sandboxing

Fix local recording saving not working after IFrame sanbox introduciton. The allow-downloads flag was missing.
This commit is contained in:
Maciej Zakrzewski
2023-02-02 10:45:48 +01:00
committed by GitHub
parent f95e167779
commit cced41665d

View File

@@ -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;