From 1c341af65cbe0af7622270ee2dbb8264a00e34de Mon Sep 17 00:00:00 2001 From: anhefti Date: Wed, 19 May 2021 17:42:44 +0200 Subject: [PATCH] added setLargeVideoParticipant to proctor id on Jitsi window opening --- .../sebserver/gui/service/session/proctoring/jitsiWindow.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/resources/ch/ethz/seb/sebserver/gui/service/session/proctoring/jitsiWindow.html b/src/main/resources/ch/ethz/seb/sebserver/gui/service/session/proctoring/jitsiWindow.html index 66f94bb1..27c65938 100644 --- a/src/main/resources/ch/ethz/seb/sebserver/gui/service/session/proctoring/jitsiWindow.html +++ b/src/main/resources/ch/ethz/seb/sebserver/gui/service/session/proctoring/jitsiWindow.html @@ -42,6 +42,8 @@ const meetAPI = new JitsiMeetExternalAPI('%%_ATTR_HOST_%%', options); meetAPI.executeCommand('subject', '%%_ATTR_SUBJECT_%%'); - + meetAPI.on('videoConferenceJoined', (event) => { + meetAPI.executeCommand('setLargeVideoParticipant', event.id); + }); \ No newline at end of file