Skip to content

Commit

Permalink
fix(iframe): Add allow screen-wake-lock.
Browse files Browse the repository at this point in the history
  • Loading branch information
hristoterezov committed Jun 27, 2023
1 parent 00092b7 commit fab8a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/API/external/external_api.js
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ export default class JitsiMeetExternalAPI extends EventEmitter {
const frameName = `jitsiConferenceFrame${id}`;

this._frame = document.createElement('iframe');
this._frame.allow = 'camera; microphone; display-capture; autoplay; clipboard-write; hid';
this._frame.allow = 'camera; microphone; display-capture; autoplay; clipboard-write; hid; screen-wake-lock';
this._frame.name = frameName;
this._frame.id = frameName;
this._setSize(height, width);
Expand Down

0 comments on commit fab8a98

Please sign in to comment.