diff --git a/.env.template b/.env.template index 499df739..f744980e 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,5 @@ # ==================================================== -# MiroTalk P2P v.1.6.95 - Environment Configuration +# MiroTalk P2P v.1.6.96 - Environment Configuration # ==================================================== # App environment diff --git a/app/src/config.template.js b/app/src/config.template.js index 3a8caedd..d86b1088 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -2,7 +2,7 @@ /** * ============================================== - * MiroTalk P2P v.1.6.95 - Configuration File + * MiroTalk P2P v.1.6.96 - Configuration File * ============================================== * * Branding and customizations require a license: @@ -129,26 +129,26 @@ module.exports = { */ buttons: { main: { - showShareQr: true, - showShareRoomBtn: true, // For guests - showHideMeBtn: true, - showFullScreenBtn: true, showAudioBtn: true, showVideoBtn: true, showScreenBtn: true, // autodetected - showRecordStreamBtn: true, + showMyHandBtn: true, showChatRoomBtn: true, showParticipantsBtn: true, - showCaptionRoomBtn: true, + showMySettingsBtn: true, + showExtraBtn: true, + showShareQr: true, + showShareRoomBtn: true, // For guests + showHideMeBtn: true, + showRecordStreamBtn: true, + showFullScreenBtn: true, showRoomEmojiPickerBtn: true, - showMyHandBtn: true, + showCaptionRoomBtn: true, showWhiteboardBtn: true, showSnapshotRoomBtn: true, showFileShareBtn: true, showDocumentPipBtn: true, - showMySettingsBtn: true, showAboutBtn: true, // Please keep me always true, Thank you! - showExtraBtn: true, }, chat: { showTogglePinBtn: true, diff --git a/app/src/server.js b/app/src/server.js index e37bc60e..02eb78a4 100755 --- a/app/src/server.js +++ b/app/src/server.js @@ -45,7 +45,7 @@ dependencies: { * @license For commercial use or closed source, contact us at license.mirotalk@gmail.com or purchase directly from CodeCanyon * @license CodeCanyon: https://codecanyon.net/item/mirotalk-p2p-webrtc-realtime-video-conferences/38376661 * @author Miroslav Pejic - miroslav.pejic.85@gmail.com - * @version 1.6.95 + * @version 1.6.96 * */ diff --git a/package-lock.json b/package-lock.json index 2138618b..95fe9e7f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mirotalk", - "version": "1.6.95", + "version": "1.6.96", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mirotalk", - "version": "1.6.95", + "version": "1.6.96", "license": "AGPL-3.0", "dependencies": { "@mattermost/client": "11.2.0", diff --git a/package.json b/package.json index e95d8bb7..e6698a2a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.6.95", + "version": "1.6.96", "description": "A free WebRTC browser-based video call", "main": "server.js", "scripts": { diff --git a/public/css/client.css b/public/css/client.css index 238c6e29..800e8dba 100755 --- a/public/css/client.css +++ b/public/css/client.css @@ -45,15 +45,6 @@ --btn-bar-bg-color: #ffffff; --btn-bar-color: #000000; - /* left buttons bar vertical default */ - --btns-top: 50%; - --btns-right: 0%; - --btns-left: 15px; - --btns-margin-left: 0px; - --btns-width: 40px; - --btns-flex-direction: column; - --btns-bg-color: rgba(0, 0, 0, 0.7); - /* bottom buttons bar horizontal default */ --bottom-btns-top: auto; --bottom-btns-left: 50%; @@ -63,15 +54,6 @@ --bottom-btns-margin-bottom: 18px; --bottom-btns-flex-direction: row; - /* left buttons bar horizontal - --btns-top: 95%; - --btns-right: 25%; - --btns-left: 50%; - --btns-margin-left: -330px; - --btns-width: 660px; - --btns-flex-direction: row; - */ - /* dark theme */ --body-bg: radial-gradient(#393939, #000000); --msger-bg: radial-gradient(#393939, #000000); @@ -236,54 +218,9 @@ body { } /*-------------------------------------------------------------- -# Left buttons +# Right extra buttons after my settings --------------------------------------------------------------*/ -#buttonsBar { - z-index: 10; - display: none; - position: fixed; - /* padding: 10px; */ - top: var(--btns-top); - right: var(--btns-right); - left: var(--btns-left); - margin-left: var(--btns-margin-left); - width: var(--btns-width); - flex-direction: var(--btns-flex-direction); - - justify-content: center; - grid-gap: 0.8rem; - - -webkit-transform: translate(0%, -50%); - -ms-transform: translate(0%, -50%); - transform: translate(0%, -50%); - - border-radius: 10px; - overflow: hidden; -} - -#buttonsBar button { - padding: 5px !important; - font-size: 1.4rem; - color: var(--btn-bar-bg-color); - background: var(--btns-bg-color); - border: none !important; - border-radius: 10px; -} - -#buttonsBar button:hover { - background: var(--body-bg); - transform: translateY(-3px); -} - -#buttonsBar button:focus { - outline: none; -} - -#toggleExtraBtn { - color: #66beff !important; -} - .fa-phone-slash, .fa-microphone-slash, .fa-video-slash { @@ -324,7 +261,8 @@ body { /* Let the dropdown menu anchor to the whole split button (not only the arrow). */ #bottomButtons #audioDropdown, -#bottomButtons #videoDropdown { +#bottomButtons #videoDropdown, +#bottomButtons #settingsExtraDropdown { position: static; } @@ -401,10 +339,6 @@ body { box-shadow: var(--box-shadow); } -.dropdown-menu.show { - display: block; -} - #bottomButtons #audioMenu, #bottomButtons #videoMenu { min-width: 280px; @@ -412,8 +346,34 @@ body { text-align: left; } +#bottomButtons #settingsExtraMenu { + min-width: 200px; + max-width: calc(100vw - 24px); + text-align: left; +} + +/* Mobile: keep settingsExtraMenu inside viewport and scrollable */ +@media (max-width: 600px) { + #bottomButtons #audioMenu, + #bottomButtons #videoMenu, + #bottomButtons #settingsExtraMenu { + min-width: unset; + max-width: 90vw; + left: 5vw !important; + right: 5vw !important; + position: fixed !important; + bottom: 70px !important; + z-index: 9999; + overflow-y: auto; + max-height: 60vh; + border-radius: 12px; + box-shadow: var(--box-shadow); + } +} + #bottomButtons #audioMenu button, -#bottomButtons #videoMenu button { +#bottomButtons #videoMenu button, +#bottomButtons #settingsExtraMenu button { display: flex; width: 100%; height: 35px; @@ -426,9 +386,19 @@ body { transform: none !important; } +#bottomButtons #settingsExtraMenu button i { + width: 20px; + min-width: 20px; + text-align: center; + margin-right: 10px; + font-size: 1.1em; + display: inline-block; +} + /* Quick device picker: section headers + divider (Cameras / Microphones / Speakers) */ #bottomButtons #videoMenu .device-menu-header, -#bottomButtons #audioMenu .device-menu-header { +#bottomButtons #audioMenu .device-menu-header, +#bottomButtons #settingsExtraMenu .device-menu-header { display: flex; align-items: center; gap: 10px; @@ -441,13 +411,15 @@ body { } #bottomButtons #videoMenu .device-menu-header i, -#bottomButtons #audioMenu .device-menu-header i { +#bottomButtons #audioMenu .device-menu-header i, +#bottomButtons #settingsExtraMenu .device-menu-header i { width: 18px; text-align: center; } #bottomButtons #videoMenu .device-menu-divider, -#bottomButtons #audioMenu .device-menu-divider { +#bottomButtons #audioMenu .device-menu-divider, +#bottomButtons #settingsExtraMenu .device-menu-divider { height: 1px; background: var(--btns-bg-color); opacity: 0.6; @@ -456,7 +428,8 @@ body { /* Action buttons in device menu */ #bottomButtons #audioMenu .device-menu-action-btn, -#bottomButtons #videoMenu .device-menu-action-btn { +#bottomButtons #videoMenu .device-menu-action-btn, +#bottomButtons #settingsExtraMenu .device-menu-action-btn { background: var(--body-bg); border: 1px solid var(--border-color); color: #fff; @@ -466,14 +439,16 @@ body { } #bottomButtons #audioMenu .device-menu-action-btn:hover, -#bottomButtons #videoMenu .device-menu-action-btn:hover { +#bottomButtons #videoMenu .device-menu-action-btn:hover, +#bottomButtons #settingsExtraMenu .device-menu-action-btn:hover { background: var(--btns-bg-color) !important; border-color: var(--btns-color); transform: translateY(-1px) !important; } #bottomButtons #audioMenu .device-menu-action-btn i, -#bottomButtons #videoMenu .device-menu-action-btn i { +#bottomButtons #videoMenu .device-menu-action-btn i, +#bottomButtons #settingsExtraMenu .device-menu-action-btn i { width: 18px; text-align: center; } @@ -2786,7 +2761,7 @@ hr { --------------------------------------------------------------*/ .red { - color: red !important; + color: #ff4500 !important; } .orange { diff --git a/public/js/brand.js b/public/js/brand.js index 4c7da77d..a378f162 100644 --- a/public/js/brand.js +++ b/public/js/brand.js @@ -77,7 +77,7 @@ let brand = { }, about: { imageUrl: '../images/mirotalk-logo.gif', - title: 'WebRTC P2P v1.6.95', + title: 'WebRTC P2P v1.6.96', html: ` - - - - - - - - - - - - -
- -
@@ -1022,7 +1037,6 @@ access to use this app.
+