[mirotalksfu] - improve Keyboard Shortcuts UI
هذا الالتزام موجود في:
@@ -55,7 +55,7 @@ dev dependencies: {
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.6.96
|
||||
* @version 1.6.97
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalksfu",
|
||||
"version": "1.6.96",
|
||||
"version": "1.6.97",
|
||||
"description": "WebRTC SFU browser-based video calls",
|
||||
"main": "Server.js",
|
||||
"scripts": {
|
||||
|
||||
@@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.6.96
|
||||
* @version 1.6.97
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -2769,6 +2769,14 @@ function handleSelects() {
|
||||
};
|
||||
|
||||
// handle Shortcuts
|
||||
handleKeyboardShortcuts();
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// KEYBOARD SHORTCUTS
|
||||
// ####################################################
|
||||
|
||||
function handleKeyboardShortcuts() {
|
||||
if (!isDesktopDevice || !BUTTONS.settings.keyboardShortcuts) {
|
||||
elemDisplay('tabShortcutsBtn', false);
|
||||
setKeyboardShortcuts(false);
|
||||
@@ -2817,13 +2825,6 @@ function handleSelects() {
|
||||
}
|
||||
screen ? stopScreenButton.click() : startScreenButton.click();
|
||||
break;
|
||||
case 'r':
|
||||
if (notPresenter && (hostOnlyRecording || !BUTTONS.settings.tabRecording)) {
|
||||
userLog('warning', 'The presenter has disabled your ability to start recording', 'top-end');
|
||||
break;
|
||||
}
|
||||
isRecording ? stopRecButton.click() : startRecButton.click();
|
||||
break;
|
||||
case 'h':
|
||||
if (notPresenter && !BUTTONS.main.raiseHandButton) {
|
||||
userLog('warning', 'The presenter has disabled your ability to raise your hand', 'top-end');
|
||||
@@ -2852,6 +2853,20 @@ function handleSelects() {
|
||||
}
|
||||
hideMeButton.click();
|
||||
break;
|
||||
case 'r':
|
||||
if (notPresenter && (hostOnlyRecording || !BUTTONS.settings.tabRecording)) {
|
||||
userLog('warning', 'The presenter has disabled your ability to start recording', 'top-end');
|
||||
break;
|
||||
}
|
||||
isRecording ? stopRecButton.click() : startRecButton.click();
|
||||
break;
|
||||
case 'j':
|
||||
if (notPresenter && !BUTTONS.main.emojiRoomButton) {
|
||||
userLog('warning', 'The presenter has disabled your ability to open the room emoji', 'top-end');
|
||||
break;
|
||||
}
|
||||
emojiRoomButton.click();
|
||||
break;
|
||||
case 'k':
|
||||
if (notPresenter && !BUTTONS.main.transcriptionButton) {
|
||||
userLog('warning', 'The presenter has disabled your ability to start transcription', 'top-end');
|
||||
@@ -2895,13 +2910,6 @@ function handleSelects() {
|
||||
}
|
||||
documentPiPButton.click();
|
||||
break;
|
||||
case 'j':
|
||||
if (notPresenter && !BUTTONS.main.emojiRoomButton) {
|
||||
userLog('warning', 'The presenter has disabled your ability to open the room emoji', 'top-end');
|
||||
break;
|
||||
}
|
||||
emojiRoomButton.click();
|
||||
break;
|
||||
case 't':
|
||||
if (notPresenter && !BUTTONS.main.snapshotRoomButton) {
|
||||
userLog('warning', 'The presenter has disabled your ability to take a snapshot', 'top-end');
|
||||
@@ -2924,10 +2932,6 @@ function handleSelects() {
|
||||
}
|
||||
}
|
||||
|
||||
// ####################################################
|
||||
// KEYBOARD SHORTCUTS
|
||||
// ####################################################
|
||||
|
||||
function setKeyboardShortcuts(enabled) {
|
||||
isShortcutsEnabled = enabled;
|
||||
localStorageSettings.keyboard_shortcuts = isShortcutsEnabled;
|
||||
@@ -4900,7 +4904,7 @@ function showAbout() {
|
||||
imageUrl: image.about,
|
||||
customClass: { image: 'img-about' },
|
||||
position: 'center',
|
||||
title: 'WebRTC SFU v1.6.96',
|
||||
title: 'WebRTC SFU v1.6.97',
|
||||
html: `
|
||||
<br />
|
||||
<div id="about">
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
|
||||
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
|
||||
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
|
||||
* @version 1.6.96
|
||||
* @version 1.6.97
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
@@ -1148,72 +1148,89 @@ access to use this app.
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Shortcut</th>
|
||||
<th>Icon</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-a"></i></td>
|
||||
<td><strong>Mute/Unmute</strong> your microphone</td>
|
||||
<td><i class="fas fa-microphone"></i></td>
|
||||
<td><strong>Toggle</strong> microphone</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-v"></i></td>
|
||||
<td><strong>Start/Stop</strong> your camera</td>
|
||||
<td><i class="fas fa-video"></i></td>
|
||||
<td><strong>Toggle</strong> camera</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-s"></i></td>
|
||||
<td><strong>Start/Stop</strong> your screen</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-r"></i></td>
|
||||
<td><strong>Start/Stop</strong> the recording</td>
|
||||
<td><i class="fas fa-desktop"></i></td>
|
||||
<td><strong>Toggle</strong> screen</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-h"></i></td>
|
||||
<td><strong>Raise/Lower</strong> your hand</td>
|
||||
<td><i class="fas fa-hand-paper"></i></td>
|
||||
<td><strong>Toggle</strong> raise hand</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-c"></i></td>
|
||||
<td><strong>Open/Close</strong> the chat</td>
|
||||
<td><i class="fas fa-comments"></i></td>
|
||||
<td><strong>Toggle</strong> chat</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-o"></i></td>
|
||||
<td><strong>Open/Close</strong> the settings</td>
|
||||
<td><i class="fas fa-cogs"></i></td>
|
||||
<td><strong>Toggle</strong> settings</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-x"></i></td>
|
||||
<td><strong>Hide/Show</strong> myself</td>
|
||||
<td><i class="fas fa-user"></i></td>
|
||||
<td><strong>Toggle</strong> hide myself</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-k"></i></td>
|
||||
<td><strong>Open/Close</strong> the captions</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-p"></i></td>
|
||||
<td><strong>Open/Close</strong> the polls</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-w"></i></td>
|
||||
<td><strong>Open/Close</strong> the whiteboard</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-d"></i></td>
|
||||
<td><strong>Open/Close</strong> the document PIP</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-e"></i></td>
|
||||
<td><strong>Open/Close</strong> the editor</td>
|
||||
<td><i class="fa-solid fa-r"></i></td>
|
||||
<td><i class="fas fa-record-vinyl"></i></td>
|
||||
<td><strong>Toggle</strong> recording</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-j"></i></td>
|
||||
<td><strong>Open/Close</strong> the emoji</td>
|
||||
<td><i class="fas fa-face-smile"></i></td>
|
||||
<td><strong>Toggle</strong> emoji</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-k"></i></td>
|
||||
<td><i class="fas fa-closed-captioning"></i></td>
|
||||
<td><strong>Toggle</strong> captions</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-p"></i></td>
|
||||
<td><i class="fas fa-square-poll-horizontal"></i></td>
|
||||
<td><strong>Toggle</strong> polls</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-e"></i></td>
|
||||
<td><i class="fas fa-pen-to-square"></i></td>
|
||||
<td><strong>Toggle</strong> editor</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-w"></i></td>
|
||||
<td><i class="fas fa-chalkboard-teacher"></i></td>
|
||||
<td><strong>Toggle</strong> whiteboard</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-d"></i></td>
|
||||
<td><i class="fas fa-images"></i></td>
|
||||
<td><strong>Toggle</strong> document PIP</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-t"></i></td>
|
||||
<td><i class="fas fas fa-camera-retro"></i></td>
|
||||
<td><strong>Snapshot</strong> screen/window or tab</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><i class="fa-solid fa-f"></i></td>
|
||||
<td><i class="fas fa-folder-open"></i></td>
|
||||
<td><strong>Share</strong> the file</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم