[mirotalksfu] - add tippy to main buttons

هذا الالتزام موجود في:
Miroslav Pejic
2021-12-18 22:08:27 +01:00
الأصل 16ad8b676d
التزام 8f7b5f4dab

عرض الملف

@@ -71,6 +71,18 @@ function getRandomNumber(length) {
function initClient() {
if (!DetectRTC.isMobileDevice) {
setTippy('shareButton', 'Share the room', 'right');
setTippy('startAudioButton', 'Start audio', 'right');
setTippy('stopAudioButton', 'Stop audio', 'right');
setTippy('startVideoButton', 'Start video', 'right');
setTippy('stopVideoButton', 'Stop video', 'right');
setTippy('swapCameraButton', 'Swap camera', 'right');
setTippy('chatButton', 'Toggle chat', 'right');
setTippy('startScreenButton', 'Start screen share', 'right');
setTippy('stopScreenButton', 'Stop screen share', 'right');
setTippy('whiteboardButton', 'Toggle whiteboard', 'right');
setTippy('settingsButton', 'Toggle settings', 'right');
setTippy('exitButton', 'Leave the room', 'right');
setTippy('tabDevicesBtn', 'Devices', 'top');
setTippy('tabRecordingBtn', 'Recording', 'top');
setTippy('tabRoomBtn', 'Room', 'top');
@@ -271,8 +283,8 @@ function whoAreYou() {
});
if (!DetectRTC.isMobileDevice) {
setTippy('initAudioButton', 'Enable / Disable audio', 'left');
setTippy('initVideoButton', 'Enable / Disable video', 'right');
setTippy('initAudioButton', 'Toggle audio', 'left');
setTippy('initVideoButton', 'Toggle video', 'right');
}
initAudioButton = document.getElementById('initAudioButton');