[mirotalksfu] - fix recordingImage

هذا الالتزام موجود في:
Miroslav Pejic
2023-12-03 21:05:47 +01:00
الأصل 4c8d580f0d
التزام 605d7da694
3 ملفات معدلة مع 11 إضافات و6 حذوفات

عرض الملف

@@ -347,7 +347,7 @@ body {
color: white;
}
#recImage {
#recordingImage {
width: 128px;
height: auto;
margin-bottom: 10px;
@@ -355,7 +355,7 @@ body {
cursor: pointer;
}
#recImage:hover {
#recordingImage:hover {
transform: scale(0.95);
transition: all 0.3s ease-in-out;
}

عرض الملف

@@ -182,7 +182,7 @@ function initClient() {
setTippy('switchShare', "Show 'Share Room' popup on join", 'right');
setTippy('roomId', 'Room name (click to copy)', 'right');
setTippy('sessionTime', 'Session time', 'right');
setTippy('recImage', 'Toggle recording', 'right');
setTippy('recordingImage', 'Toggle recording', 'right');
setTippy('roomRecording', 'Only the host (presenter) has the capability to record the meeting', 'bottom');
setTippy('whiteboardGhostButton', 'Toggle transparent background', 'bottom');
setTippy('wbBackgroundColorEl', 'Background color', 'bottom');
@@ -1069,7 +1069,10 @@ function roomIsReady() {
BUTTONS.settings.lockRoomButton && show(lockRoomButton);
BUTTONS.settings.broadcastingButton && show(broadcastingButton);
BUTTONS.settings.lobbyButton && show(lobbyButton);
BUTTONS.settings.host_only_recording && show(roomRecording);
if (BUTTONS.settings.host_only_recording) {
show(roomRecording);
show(recordingImage);
}
BUTTONS.main.aboutButton && show(aboutButton);
if (!DetectRTC.isMobileDevice) show(pinUnpinGridDiv);
if (!isSpeechSynthesisSupported) hide(speechMsgDiv);
@@ -1324,7 +1327,7 @@ function handleButtons() {
fullScreenButton.onclick = () => {
rc.toggleFullScreen();
};
recImage.onclick = () => {
recordingImage.onclick = () => {
isRecording ? stopRecButton.click() : startRecButton.click();
};
startRecButton.onclick = () => {
@@ -2259,6 +2262,7 @@ function handleRoomClientEvents() {
}
hide(startRecButton);
hide(roomRecording);
hide(recordingImage);
show(recordingMessage);
hostOnlyRecording = true;
}
@@ -2267,6 +2271,7 @@ function handleRoomClientEvents() {
if (isRulesActive && !isPresenter) {
console.log('Room event: host only recording disabled');
show(startRecButton);
show(recordingImage);
hide(roomRecording);
hide(recordingMessage);
hostOnlyRecording = false;

عرض الملف

@@ -738,7 +738,7 @@ access to use this app.
</div>
<div id="tabRecording" class="tabcontent">
<img id="recImage" src="../images/recording.png" />
<img id="recordingImage" class="hidden" src="../images/recording.png" />
<div id="roomRecording" class="hidden">
<table class="settingsTable">
<tr>