[mirotalksfu] - add share file btn to chat
هذا الالتزام موجود في:
@@ -108,6 +108,7 @@ function initClient() {
|
||||
setTippy('chatSpeechStartButton', 'Start speech recognition', 'top');
|
||||
setTippy('chatSpeechStopButton', 'Stop speech recognition', 'top');
|
||||
setTippy('chatEmojiButton', 'Emoji', 'top');
|
||||
setTippy('chatShareFileButton', 'Share file', 'top');
|
||||
setTippy('chatCleanButton', 'Clean', 'bottom');
|
||||
setTippy('chatSaveButton', 'Save', 'bottom');
|
||||
setTippy('sessionTime', 'Session time', 'right');
|
||||
@@ -550,6 +551,7 @@ function roomIsReady() {
|
||||
show(chatButton);
|
||||
show(chatSendButton);
|
||||
show(chatEmojiButton);
|
||||
show(chatShareFileButton);
|
||||
if (isWebkitSpeechRecognitionSupported) {
|
||||
show(chatSpeechStartButton);
|
||||
}
|
||||
@@ -719,6 +721,9 @@ function handleButtons() {
|
||||
chatEmojiButton.onclick = () => {
|
||||
rc.toggleChatEmoji();
|
||||
};
|
||||
chatShareFileButton.onclick = () => {
|
||||
fileShareButton.click();
|
||||
};
|
||||
chatSpeechStartButton.onclick = () => {
|
||||
startSpeech(true);
|
||||
};
|
||||
|
||||
@@ -364,6 +364,9 @@ access to use this app.
|
||||
<button id="chatEmojiButton" class="hidden">
|
||||
<i class="fas fa-smile"></i>
|
||||
</button>
|
||||
<button id="chatShareFileButton" class="hidden">
|
||||
<i class="fas fa-file"></i>
|
||||
</button>
|
||||
<button id="chatSpeechStartButton" class="hidden">
|
||||
<i class="fas fa-microphone-slash"></i>
|
||||
</button>
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم