[mirotalksfu] - improve tooltips
هذا الالتزام موجود في:
@@ -142,14 +142,14 @@ function initClient() {
|
||||
setTheme();
|
||||
if (!DetectRTC.isMobileDevice) {
|
||||
refreshMainButtonsToolTipPlacement();
|
||||
setTippy('mySettingsCloseBtn', 'Close', 'top-end');
|
||||
setTippy('mySettingsCloseBtn', 'Close', 'bottom');
|
||||
setTippy(
|
||||
'switchPushToTalk',
|
||||
'If Active, When SpaceBar keydown the microphone will be resumed, on keyup will be paused, like a walkie-talkie.',
|
||||
'right',
|
||||
);
|
||||
setTippy('lobbyAcceptAllBtn', 'Accept', 'top-end');
|
||||
setTippy('lobbyRejectAllBtn', 'Reject', 'top-end');
|
||||
setTippy('lobbyAcceptAllBtn', 'Accept', 'top');
|
||||
setTippy('lobbyRejectAllBtn', 'Reject', 'top');
|
||||
setTippy(
|
||||
'switchLobby',
|
||||
'Lobby mode lets you protect your meeting by only allowing people to enter after a formal approval by a moderator',
|
||||
@@ -183,21 +183,21 @@ function initClient() {
|
||||
setTippy('chatCleanTextButton', 'Clean', 'top-end');
|
||||
setTippy('chatPasteButton', 'Paste', 'top-end');
|
||||
setTippy('chatSendButton', 'Send', 'top-end');
|
||||
setTippy('showChatOnMsg', 'Show chat on new message comes', 'top-end');
|
||||
setTippy('speechIncomingMsg', 'Speech the incoming messages', 'top-end');
|
||||
setTippy('chatSpeechStartButton', 'Start speech recognition', 'top-end');
|
||||
setTippy('chatSpeechStopButton', 'Stop speech recognition', 'top-end');
|
||||
setTippy('chatEmojiButton', 'Emoji', 'top-end');
|
||||
setTippy('chatMarkdownButton', 'Markdown', 'top-end');
|
||||
setTippy('chatGPTButton', 'ChatGPT', 'top-end');
|
||||
setTippy('chatShareFileButton', 'Share file', 'top-end');
|
||||
setTippy('showChatOnMsg', 'Show chat on new message comes', 'bottom');
|
||||
setTippy('speechIncomingMsg', 'Speech the incoming messages', 'bottom');
|
||||
setTippy('chatSpeechStartButton', 'Start speech recognition', 'top');
|
||||
setTippy('chatSpeechStopButton', 'Stop speech recognition', 'top');
|
||||
setTippy('chatEmojiButton', 'Emoji', 'top');
|
||||
setTippy('chatMarkdownButton', 'Markdown', 'top');
|
||||
setTippy('chatGPTButton', 'ChatGPT', 'top');
|
||||
setTippy('chatShareFileButton', 'Share file', 'top');
|
||||
setTippy('chatCleanButton', 'Clean', 'bottom');
|
||||
setTippy('chatSaveButton', 'Save', 'bottom');
|
||||
setTippy('chatGhostButton', 'Toggle transparent background', 'bottom');
|
||||
setTippy('chatCloseButton', 'Close', 'right');
|
||||
setTippy('chatMaxButton', 'Maximize', 'right');
|
||||
setTippy('chatMinButton', 'Minimize', 'right');
|
||||
setTippy('participantsCloseBtn', 'Close', 'left');
|
||||
setTippy('chatCloseButton', 'Close', 'bottom');
|
||||
setTippy('chatMaxButton', 'Maximize', 'bottom');
|
||||
setTippy('chatMinButton', 'Minimize', 'bottom');
|
||||
setTippy('participantsCloseBtn', 'Close', 'right');
|
||||
setTippy('participantsSaveBtn', 'Save participants info', 'right');
|
||||
}
|
||||
setupWhiteboard();
|
||||
@@ -210,8 +210,7 @@ function initClient() {
|
||||
|
||||
function refreshMainButtonsToolTipPlacement() {
|
||||
if (!DetectRTC.isMobileDevice) {
|
||||
const placement =
|
||||
BtnsBarPosition.options[BtnsBarPosition.selectedIndex].value == 'vertical' ? 'right' : 'top-end';
|
||||
const placement = BtnsBarPosition.options[BtnsBarPosition.selectedIndex].value == 'vertical' ? 'right' : 'top';
|
||||
setTippy('shareButton', 'Share room', placement);
|
||||
setTippy('hideMeButton', 'Toggle hide self view', placement);
|
||||
setTippy('startAudioButton', 'Start the audio', placement);
|
||||
|
||||
@@ -1435,11 +1435,11 @@ class RoomClient {
|
||||
if (isScreen) pn.click();
|
||||
handleAspectRatio();
|
||||
if (!this.isMobileDevice) {
|
||||
this.setTippy(pn.id, 'Toggle Pin', 'top-end');
|
||||
this.setTippy(pip.id, 'Toggle picture in picture', 'top-end');
|
||||
this.setTippy(ts.id, 'Snapshot', 'top-end');
|
||||
this.setTippy(vp.id, 'Toggle video privacy', 'top-end');
|
||||
this.setTippy(au.id, 'Audio status', 'top-end');
|
||||
this.setTippy(pn.id, 'Toggle Pin', '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');
|
||||
}
|
||||
console.log('[addProducer] Video-element-count', this.videoMediaContainer.childElementCount);
|
||||
break;
|
||||
@@ -1838,16 +1838,16 @@ class RoomClient {
|
||||
handleAspectRatio();
|
||||
console.log('[addConsumer] Video-element-count', this.videoMediaContainer.childElementCount);
|
||||
if (!this.isMobileDevice) {
|
||||
this.setTippy(pn.id, 'Toggle Pin', 'top-end');
|
||||
this.setTippy(pip.id, 'Toggle picture in picture', 'top-end');
|
||||
this.setTippy(ts.id, 'Snapshot', 'top-end');
|
||||
this.setTippy(sf.id, 'Send file', 'top-end');
|
||||
this.setTippy(sm.id, 'Send message', 'top-end');
|
||||
this.setTippy(sv.id, 'Send video', 'top-end');
|
||||
this.setTippy(cm.id, 'Hide', 'top-end');
|
||||
this.setTippy(au.id, 'Mute', 'top-end');
|
||||
this.setTippy(pv.id, '🔊 Volume', 'top-end');
|
||||
this.setTippy(ko.id, 'Eject', 'top-end');
|
||||
this.setTippy(pn.id, 'Toggle Pin', 'bottom');
|
||||
this.setTippy(pip.id, 'Toggle picture in picture', 'bottom');
|
||||
this.setTippy(ts.id, 'Snapshot', 'bottom');
|
||||
this.setTippy(sf.id, 'Send file', 'bottom');
|
||||
this.setTippy(sm.id, 'Send message', 'bottom');
|
||||
this.setTippy(sv.id, 'Send video', 'bottom');
|
||||
this.setTippy(cm.id, 'Hide', 'bottom');
|
||||
this.setTippy(au.id, 'Mute', 'bottom');
|
||||
this.setTippy(pv.id, '🔊 Volume', 'bottom');
|
||||
this.setTippy(ko.id, 'Eject', 'bottom');
|
||||
}
|
||||
break;
|
||||
case mediaType.audio:
|
||||
@@ -2007,12 +2007,12 @@ class RoomClient {
|
||||
handleAspectRatio();
|
||||
if (isParticipantsListOpen) getRoomParticipants(true);
|
||||
if (!this.isMobileDevice && remotePeer) {
|
||||
this.setTippy(sm.id, 'Send message', 'top-end');
|
||||
this.setTippy(sf.id, 'Send file', 'top-end');
|
||||
this.setTippy(sv.id, 'Send video', 'top-end');
|
||||
this.setTippy(au.id, 'Mute', 'top-end');
|
||||
this.setTippy(pv.id, '🔊 Volume', 'top-end');
|
||||
this.setTippy(ko.id, 'Eject', 'top-end');
|
||||
this.setTippy(sm.id, 'Send message', 'bottom');
|
||||
this.setTippy(sf.id, 'Send file', 'bottom');
|
||||
this.setTippy(sv.id, 'Send video', 'bottom');
|
||||
this.setTippy(au.id, 'Mute', 'bottom');
|
||||
this.setTippy(pv.id, '🔊 Volume', 'bottom');
|
||||
this.setTippy(ko.id, 'Eject', 'bottom');
|
||||
}
|
||||
console.log('[setVideoOff] Video-element-count', this.videoMediaContainer.childElementCount);
|
||||
//
|
||||
@@ -3945,8 +3945,8 @@ class RoomClient {
|
||||
});
|
||||
this.handlePN(video.id, pn.id, d.id);
|
||||
if (!this.isMobileDevice) {
|
||||
this.setTippy(pn.id, 'Toggle Pin video player', 'top-end');
|
||||
this.setTippy(e.id, 'Close video player', 'top-end');
|
||||
this.setTippy(pn.id, 'Toggle Pin video player', 'bottom');
|
||||
this.setTippy(e.id, 'Close video player', 'bottom');
|
||||
}
|
||||
console.log('[openVideo] Video-element-count', this.videoMediaContainer.childElementCount);
|
||||
this.sound('joined');
|
||||
@@ -4174,8 +4174,8 @@ class RoomClient {
|
||||
lobbyHeaderTitle.innerText = 'Lobby users (' + lobbyParticipantsCount + ')';
|
||||
if (!isLobbyOpen) this.lobbyToggle();
|
||||
if (!this.isMobileDevice) {
|
||||
setTippy(lobbyAcceptId, 'Accept', 'top-end');
|
||||
setTippy(lobbyRejectId, 'Reject', 'top-end');
|
||||
setTippy(lobbyAcceptId, 'Accept', 'top');
|
||||
setTippy(lobbyRejectId, 'Reject', 'top');
|
||||
}
|
||||
this.userLog('info', peer_name + ' wants to join the meeting', 'top-end');
|
||||
}
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم