[mirotalk] - add showVideoFocusBtn in local buttons config
This commit is contained in:
@@ -187,6 +187,7 @@ module.exports = {
|
||||
showSnapShotBtn: true,
|
||||
showVideoCircleBtn: true,
|
||||
showZoomInOutBtn: false,
|
||||
showVideoFocusBtn: true,
|
||||
},
|
||||
whiteboard: {
|
||||
whiteboardLockBtn: false,
|
||||
|
||||
+1
-1
@@ -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.13
|
||||
* @version 1.6.14
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.13",
|
||||
"version": "1.6.14",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.13",
|
||||
"version": "1.6.14",
|
||||
"license": "AGPL-3.0",
|
||||
"dependencies": {
|
||||
"@mattermost/client": "11.0.4",
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mirotalk",
|
||||
"version": "1.6.13",
|
||||
"version": "1.6.14",
|
||||
"description": "A free WebRTC browser-based video call",
|
||||
"main": "server.js",
|
||||
"scripts": {
|
||||
|
||||
+1
-1
@@ -75,7 +75,7 @@ let brand = {
|
||||
},
|
||||
about: {
|
||||
imageUrl: '../images/mirotalk-logo.gif',
|
||||
title: 'WebRTC P2P v1.6.13',
|
||||
title: 'WebRTC P2P v1.6.14',
|
||||
html: `
|
||||
<button
|
||||
id="support-button"
|
||||
|
||||
@@ -74,6 +74,7 @@ let buttons = {
|
||||
showSnapShotBtn: true,
|
||||
showVideoCircleBtn: true,
|
||||
showZoomInOutBtn: false,
|
||||
showVideoFocusBtn: true,
|
||||
},
|
||||
whiteboard: {
|
||||
whiteboardLockBtn: false,
|
||||
|
||||
+5
-5
@@ -15,7 +15,7 @@
|
||||
* @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.13
|
||||
* @version 1.6.14
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -3545,9 +3545,9 @@ async function loadLocalMedia(stream, kind) {
|
||||
|
||||
buttons.local.showVideoCircleBtn && handleVideoPrivacyBtn(myLocalMedia.id, myPrivacyBtn.id);
|
||||
|
||||
handleVideoPinUnpin(myLocalMedia.id, myVideoPinBtn.id, myVideoWrap.id, myLocalMedia.id);
|
||||
buttons.local.showVideoFocusBtn && handleVideoFocusMode(myVideoFocusBtn, myVideoWrap, myLocalMedia);
|
||||
|
||||
handleVideoFocusMode(myVideoFocusBtn, myVideoWrap, myLocalMedia);
|
||||
handleVideoPinUnpin(myLocalMedia.id, myVideoPinBtn.id, myVideoWrap.id, myLocalMedia.id);
|
||||
|
||||
if (showVideoPipBtn && buttons.local.showVideoPipBtn)
|
||||
handlePictureInPicture(myVideoPiPBtn.id, myLocalMedia.id, myPeerId);
|
||||
@@ -3656,7 +3656,7 @@ async function loadLocalMedia(stream, kind) {
|
||||
// attach to screen nav bar
|
||||
!isMobileDevice && myScreenNavBar.appendChild(myScreenPinBtn);
|
||||
|
||||
myScreenNavBar.appendChild(myScreenFocusBtn);
|
||||
buttons.local.showVideoFocusBtn && myScreenNavBar.appendChild(myScreenFocusBtn);
|
||||
|
||||
buttons.local.showSnapShotBtn && myScreenNavBar.appendChild(myScreenToImgBtn);
|
||||
|
||||
@@ -12264,7 +12264,7 @@ function showAbout() {
|
||||
Swal.fire({
|
||||
background: swBg,
|
||||
position: 'center',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.13',
|
||||
title: brand.about?.title && brand.about.title.trim() !== '' ? brand.about.title : 'WebRTC P2P v1.6.14',
|
||||
imageUrl: brand.about?.imageUrl && brand.about.imageUrl.trim() !== '' ? brand.about.imageUrl : images.about,
|
||||
customClass: { image: 'img-about' },
|
||||
html: `
|
||||
|
||||
Reference in New Issue
Block a user