fix(external_api): Pass Feature-Policy display-capture to the iframe
Starting from version 74, firefox need to be explicitly allowed to capture the screen from an iframe for screensharing. This new Feature-Policy is called "display-capture". See: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Feature-Policy/display-capture
This commit is contained in:
parent
9b0f5b0299
commit
011b7f9d00
|
@ -300,7 +300,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
|
|||
const frameName = `jitsiConferenceFrame${id}`;
|
||||
|
||||
this._frame = document.createElement('iframe');
|
||||
this._frame.allow = 'camera; microphone';
|
||||
this._frame.allow = 'camera; microphone; display-capture';
|
||||
this._frame.src = this._url;
|
||||
this._frame.name = frameName;
|
||||
this._frame.id = frameName;
|
||||
|
|
Loading…
Reference in New Issue