diff --git a/.env.template b/.env.template index 071d1176..8907fb17 100644 --- a/.env.template +++ b/.env.template @@ -1,5 +1,5 @@ # ==================================================== -# MiroTalk P2P v.1.6.78 - Environment Configuration +# MiroTalk P2P v.1.6.80 - Environment Configuration # ==================================================== # App environment diff --git a/app/src/config.template.js b/app/src/config.template.js index c05fc6aa..0fad808b 100644 --- a/app/src/config.template.js +++ b/app/src/config.template.js @@ -2,7 +2,7 @@ /** * ============================================== - * MiroTalk P2P v.1.6.78 - Configuration File + * MiroTalk P2P v.1.6.80 - Configuration File * ============================================== * * Branding and customizations require a license: diff --git a/app/src/server.js b/app/src/server.js index 6dbb9b79..f72236b2 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.78 + * @version 1.6.80 * */ diff --git a/package-lock.json b/package-lock.json index 715e7d6c..74a543a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "mirotalk", - "version": "1.6.78", + "version": "1.6.80", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "mirotalk", - "version": "1.6.78", + "version": "1.6.80", "license": "AGPL-3.0", "dependencies": { "@mattermost/client": "11.1.0", diff --git a/package.json b/package.json index b4f42130..da869184 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mirotalk", - "version": "1.6.78", + "version": "1.6.80", "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 818c77a7..bcd1f344 100755 --- a/public/css/client.css +++ b/public/css/client.css @@ -315,6 +315,7 @@ body { #bottomButtons button { width: 50px; + height: 50px; padding: 10px; font-size: 1.6rem; color: var(--btn-bar-bg-color); @@ -324,6 +325,68 @@ body { transition: all 0.3s ease-in-out; } +/* Quick device picker (Start Audio/Video) */ +#bottomButtons .device-dropdown-toggle { + width: 25px; + height: 50px; + display: inline-flex; + align-items: center; + justify-content: center; + line-height: 1; +} + +#bottomButtons .device-dropdown-toggle i { + font-size: 0.9rem; +} + +#bottomButtons .dropdown-menu button { + width: auto; + font-size: 0.8em; + padding: 8px 16px; + border-radius: 0; + background: none; + transition: background 0.2s; +} + +#bottomButtons .dropdown { + position: relative; +} + +#bottomButtons .dropup .dropdown-menu { + z-index: 9999; + position: absolute; + left: 0; + padding: 10px 5px; + bottom: calc(100% + 6px); + border: var(--border); + background: var(--body-bg); + box-shadow: var(--box-shadow); +} + +.dropdown-menu.show { + display: block; +} + +#bottomButtons #audioMenu, +#bottomButtons #videoMenu { + min-width: 280px; + max-width: calc(100vw - 24px); + text-align: left; +} + +#bottomButtons #audioMenu button, +#bottomButtons #videoMenu button { + display: flex; + align-items: center; + justify-content: flex-start; + text-align: left; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; + width: 100%; + transform: none !important; +} + #bottomButtons button:hover { background: var(--body-bg); transform: var(--btns-hover-scale); @@ -1465,17 +1528,24 @@ button { #mySettings { width: 90%; } - #bottomButtons { gap: 0.3rem; padding: 3px; } #bottomButtons button { width: 38px; + height: 38px; font-size: 0.95rem; padding: 8px; margin: 0 1px; } + #bottomButtons .device-dropdown-toggle { + width: 19px; + height: 38px; + } + #bottomButtons .device-dropdown-toggle i { + font-size: 0.8rem; + } } @media screen and (max-width: 360px) { @@ -1489,6 +1559,13 @@ button { padding: 6px; margin: 0 1px; } + #bottomButtons .device-dropdown-toggle { + width: 14px; + height: 24px; + } + #bottomButtons .device-dropdown-toggle i { + font-size: 0.7rem; + } } #mySettingsHeader { diff --git a/public/js/brand.js b/public/js/brand.js index 0effefec..b8c415d0 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.78', + title: 'WebRTC P2P v1.6.80', html: ` + +