fixed more icons, remove moderator settings
هذا الالتزام موجود في:
@@ -483,6 +483,24 @@ body {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#shareButton i {
|
||||
color: red;
|
||||
}
|
||||
#startRecButton i {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
#fullScreenButton i {
|
||||
color: red;
|
||||
}
|
||||
|
||||
#fullScreenIcon i {
|
||||
color: red;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
#toggleExtraButton {
|
||||
@@ -1486,8 +1504,9 @@ body {
|
||||
}
|
||||
.swal2-html-container {
|
||||
text-align: center;
|
||||
color: whitesmoke !important;
|
||||
color: black !important;
|
||||
background-color: transparent !important;
|
||||
|
||||
}
|
||||
|
||||
.swal2-input {
|
||||
|
||||
@@ -2975,22 +2975,22 @@ function handleSelects() {
|
||||
lS.setSettings(localStorageSettings);
|
||||
e.target.blur();
|
||||
};
|
||||
switchEveryoneCantChatChatGPT.onchange = (e) => {
|
||||
const chatCantChatGPT = e.currentTarget.checked;
|
||||
rc.updateRoomModerator({ type: 'chat_cant_chatgpt', status: chatCantChatGPT });
|
||||
rc.roomMessage('chat_cant_chatgpt', chatCantChatGPT);
|
||||
localStorageSettings.moderator_chat_cant_chatgpt = chatCantChatGPT;
|
||||
lS.setSettings(localStorageSettings);
|
||||
e.target.blur();
|
||||
};
|
||||
switchEveryoneCantChatDeepSeek.onchange = (e) => {
|
||||
const chatCantDeepSeek = e.currentTarget.checked;
|
||||
rc.updateRoomModerator({ type: 'chat_cant_deep_seek', status: chatCantDeepSeek });
|
||||
rc.roomMessage('chat_cant_deep_seek', chatCantDeepSeek);
|
||||
localStorageSettings.moderator_chat_cant_deep_seek = chatCantDeepSeek;
|
||||
lS.setSettings(localStorageSettings);
|
||||
e.target.blur();
|
||||
};
|
||||
// switchEveryoneCantChatChatGPT.onchange = (e) => {
|
||||
// const chatCantChatGPT = e.currentTarget.checked;
|
||||
// rc.updateRoomModerator({ type: 'chat_cant_chatgpt', status: chatCantChatGPT });
|
||||
// rc.roomMessage('chat_cant_chatgpt', chatCantChatGPT);
|
||||
// localStorageSettings.moderator_chat_cant_chatgpt = chatCantChatGPT;
|
||||
// lS.setSettings(localStorageSettings);
|
||||
// e.target.blur();
|
||||
// };
|
||||
// switchEveryoneCantChatDeepSeek.onchange = (e) => {
|
||||
// const chatCantDeepSeek = e.currentTarget.checked;
|
||||
// rc.updateRoomModerator({ type: 'chat_cant_deep_seek', status: chatCantDeepSeek });
|
||||
// rc.roomMessage('chat_cant_deep_seek', chatCantDeepSeek);
|
||||
// localStorageSettings.moderator_chat_cant_deep_seek = chatCantDeepSeek;
|
||||
// lS.setSettings(localStorageSettings);
|
||||
// e.target.blur();
|
||||
// };
|
||||
switchEveryoneCantMediaSharing.onchange = (e) => {
|
||||
const mediaCantSharing = e.currentTarget.checked;
|
||||
rc.updateRoomModerator({ type: 'media_cant_sharing', status: mediaCantSharing });
|
||||
|
||||
@@ -27,7 +27,7 @@ const html = {
|
||||
videoOff: 'fas fa-video-slash',
|
||||
userName: 'username',
|
||||
userHand: 'fas fa-hand-paper user-hand pulsate',
|
||||
pip: 'fas fa-images',
|
||||
// pip: 'fas fa-images',
|
||||
fullScreen: 'fas fa-expand',
|
||||
fullScreenOn: 'fas fa-compress-alt',
|
||||
fullScreenOff: 'fas fa-expand-alt',
|
||||
@@ -2599,7 +2599,7 @@ class RoomClient {
|
||||
vb.id = id + '__vb';
|
||||
vb.className = 'videoMenuBar hidden';
|
||||
|
||||
pip = this.createButton(id + '__pictureInPicture', html.pip);
|
||||
// pip = this.createButton(id + '__pictureInPicture', html.pip);
|
||||
ha = this.createButton(id + '__hideALL', html.hideALL + ' focusMode');
|
||||
fs = this.createButton(id + '__fullScreen', html.fullScreen);
|
||||
ts = this.createButton(id + '__snapshot', html.snapshot);
|
||||
@@ -2641,9 +2641,9 @@ class RoomClient {
|
||||
BUTTONS.producerVideo.muteAudioButton && vb.appendChild(au);
|
||||
BUTTONS.producerVideo.videoPrivacyButton && !isScreen && vb.appendChild(vp);
|
||||
BUTTONS.producerVideo.snapShotButton && vb.appendChild(ts);
|
||||
BUTTONS.producerVideo.videoPictureInPicture &&
|
||||
this.isVideoPictureInPictureSupported &&
|
||||
vb.appendChild(pip);
|
||||
// BUTTONS.producerVideo.videoPictureInPicture &&
|
||||
// this.isVideoPictureInPictureSupported &&
|
||||
// vb.appendChild(pip);
|
||||
BUTTONS.producerVideo.videoMirrorButton && vb.appendChild(mv);
|
||||
BUTTONS.producerVideo.fullScreenButton && this.isVideoFullScreenSupported && vb.appendChild(fs);
|
||||
BUTTONS.producerVideo.focusVideoButton && vb.appendChild(ha);
|
||||
@@ -2678,7 +2678,7 @@ class RoomClient {
|
||||
await this.attachMediaStream(elem, stream, type, 'Producer');
|
||||
|
||||
this.myVideoEl = elem;
|
||||
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||
// this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
||||
this.handleVB(d.id, vb.id);
|
||||
this.handleDD(elem.id, this.peer_id, true);
|
||||
@@ -2706,7 +2706,7 @@ class RoomClient {
|
||||
this.setTippy(pn.id, 'Toggle Pin', 'bottom');
|
||||
this.setTippy(ha.id, 'Toggle Focus mode', 'bottom');
|
||||
this.setTippy(mv.id, 'Toggle mirror', 'bottom');
|
||||
this.setTippy(pip.id, 'Toggle picture in picture', 'bottom');
|
||||
// this.setTippy(pip.id, 'Toggle picture in picture', 'bottom');
|
||||
this.setTippy(ts.id, 'Snapshot', 'bottom');
|
||||
this.setTippy(vp.id, 'Toggle video privacy', 'bottom');
|
||||
this.setTippy(au.id, 'Audio status', 'bottom');
|
||||
@@ -3090,7 +3090,7 @@ class RoomClient {
|
||||
eVc.className = 'expand-video-content';
|
||||
eVc.id = remotePeerId + (type === mediaType.screen ? '_screen_' : '_video_') + '_videoExpandContent';
|
||||
|
||||
pip = this.createButton(id + '__pictureInPicture', html.pip);
|
||||
// pip = this.createButton(id + '__pictureInPicture', html.pip);
|
||||
mv = this.createButton(id + '__videoMirror', html.mirror);
|
||||
fs = this.createButton(id + '__fullScreen', html.fullScreen);
|
||||
ts = this.createButton(id + '__snapshot', html.snapshot);
|
||||
@@ -3163,9 +3163,9 @@ class RoomClient {
|
||||
vb.appendChild(au);
|
||||
vb.appendChild(cm);
|
||||
BUTTONS.consumerVideo.snapShotButton && vb.appendChild(ts);
|
||||
BUTTONS.consumerVideo.videoPictureInPicture &&
|
||||
this.isVideoPictureInPictureSupported &&
|
||||
vb.appendChild(pip);
|
||||
// BUTTONS.consumerVideo.videoPictureInPicture &&
|
||||
// this.isVideoPictureInPictureSupported &&
|
||||
// vb.appendChild(pip);
|
||||
BUTTONS.consumerVideo.videoMirrorButton && vb.appendChild(mv);
|
||||
BUTTONS.consumerVideo.fullScreenButton && this.isVideoFullScreenSupported && vb.appendChild(fs);
|
||||
BUTTONS.consumerVideo.focusVideoButton && vb.appendChild(ha);
|
||||
@@ -3192,7 +3192,7 @@ class RoomClient {
|
||||
|
||||
await this.attachMediaStream(elem, stream, type, 'Consumer');
|
||||
|
||||
this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||
// this.isVideoPictureInPictureSupported && this.handlePIP(elem.id, pip.id);
|
||||
this.isVideoFullScreenSupported && this.handleFS(elem.id, fs.id);
|
||||
this.handleVB(d.id, vb.id, eBtn.id, eVc.id);
|
||||
this.handleDD(elem.id, remotePeerId);
|
||||
@@ -3232,7 +3232,7 @@ class RoomClient {
|
||||
if (!this.isMobileDevice) {
|
||||
this.setTippy(pn.id, 'Toggle Pin', 'bottom');
|
||||
this.setTippy(ha.id, 'Toggle Focus mode', 'bottom');
|
||||
this.setTippy(pip.id, 'Toggle picture in picture', 'bottom');
|
||||
// this.setTippy(pip.id, 'Toggle picture in picture', 'bottom');
|
||||
this.setTippy(mv.id, 'Toggle mirror', 'bottom');
|
||||
this.setTippy(ts.id, 'Snapshot', 'bottom');
|
||||
this.setTippy(sf.id, 'Send file', 'bottom');
|
||||
|
||||
@@ -188,8 +188,8 @@ function handleRules(isPresenter) {
|
||||
switchEveryoneCantUnhide.checked = localStorageSettings.moderator_video_cant_unhide;
|
||||
switchEveryoneCantShareScreen.checked = localStorageSettings.moderator_screen_cant_share;
|
||||
switchEveryoneCantChatPrivately.checked = localStorageSettings.moderator_chat_cant_privately;
|
||||
switchEveryoneCantChatChatGPT.checked = localStorageSettings.moderator_chat_cant_chatgpt;
|
||||
switchEveryoneCantChatDeepSeek.checked = localStorageSettings.moderator_chat_cant_deep_seek;
|
||||
// switchEveryoneCantChatChatGPT.checked = localStorageSettings.moderator_chat_cant_chatgpt;
|
||||
// switchEveryoneCantChatDeepSeek.checked = localStorageSettings.moderator_chat_cant_deep_seek;
|
||||
switchEveryoneCantMediaSharing.checked = localStorageSettings.moderator_media_cant_sharing;
|
||||
switchDisconnectAllOnLeave.checked = localStorageSettings.moderator_disconnect_all_on_leave;
|
||||
|
||||
@@ -202,8 +202,8 @@ function handleRules(isPresenter) {
|
||||
video_cant_unhide: switchEveryoneCantUnhide.checked,
|
||||
screen_cant_share: switchEveryoneCantShareScreen.checked,
|
||||
chat_cant_privately: switchEveryoneCantChatPrivately.checked,
|
||||
chat_cant_chatgpt: switchEveryoneCantChatChatGPT.checked,
|
||||
chat_cant_deep_seek: switchEveryoneCantChatDeepSeek.checked,
|
||||
// chat_cant_chatgpt: switchEveryoneCantChatChatGPT.checked,
|
||||
// chat_cant_deep_seek: switchEveryoneCantChatDeepSeek.checked,
|
||||
media_cant_sharing: switchEveryoneCantMediaSharing.checked,
|
||||
};
|
||||
console.log('Rules moderator data ---->', moderatorData);
|
||||
|
||||
@@ -771,7 +771,7 @@ access to use this app.
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr id="everyoneCantChatGPTBtn">
|
||||
<!-- <tr id="everyoneCantChatGPTBtn">
|
||||
<td>
|
||||
<div class="title">
|
||||
<i class="ph ph-robot red"></i>
|
||||
@@ -806,7 +806,7 @@ access to use this app.
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tr> -->
|
||||
<tr id="everyoneCantMediaSharingBtn">
|
||||
<td>
|
||||
<div class="title">
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم