Skip to content

Commit

Permalink
[mirotalksfu] - fix avatars videoBar
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpejic85 committed Nov 9, 2024
1 parent afda139 commit 9c62253
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
2 changes: 1 addition & 1 deletion app/src/Server.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ dev dependencies: {
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.28
* @version 1.6.29
*
*/

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mirotalksfu",
"version": "1.6.28",
"version": "1.6.29",
"description": "WebRTC SFU browser-based video calls",
"main": "Server.js",
"scripts": {
Expand Down
7 changes: 5 additions & 2 deletions public/css/VideoGrid.css
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
background: var(--btns-bg-color);
}

.videoAvatarMenuBar,
.videoMenuBarShare {
z-index: 2;
position: absolute;
Expand All @@ -174,6 +175,7 @@

.videoMenuBar input,
.videoMenuBar button,
.videoAvatarMenuBar button,
.videoMenuBarShare button {
font-size: 1.2rem;
float: right;
Expand All @@ -184,8 +186,9 @@
border: none;
}

.videoMenuBarShare button:hover,
.videoMenuBar button:hover {
.videoMenuBar button:hover,
.videoAvatarMenuBar button:hover,
.videoMenuBarShare button:hover {
color: grey;
transition: all 0.3s ease-in-out;
}
Expand Down
4 changes: 2 additions & 2 deletions public/js/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (location.href.substr(0, 5) !== 'https') location.href = 'https' + location.h
* @license For commercial or closed source, contact us at license.mirotalk@gmail.com or purchase directly via CodeCanyon
* @license CodeCanyon: https://codecanyon.net/item/mirotalk-sfu-webrtc-realtime-video-conferences/40769970
* @author Miroslav Pejic - miroslav.pejic.85@gmail.com
* @version 1.6.28
* @version 1.6.29
*
*/

Expand Down Expand Up @@ -4603,7 +4603,7 @@ function showAbout() {
imageUrl: image.about,
customClass: { image: 'img-about' },
position: 'center',
title: 'WebRTC SFU v1.6.28',
title: 'WebRTC SFU v1.6.29',
html: `
<br />
<div id="about">
Expand Down
7 changes: 5 additions & 2 deletions public/js/RoomClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -8273,14 +8273,17 @@ class RoomClient {
'Angela in Black Dress',
'Kayla in Casual Suit',
'Anna in Brown T-shirt',
'Anna in White T-shirt',
'Briana in Brown suit',
'Justin in White Shirt',
'Leah in Black Suit',
'Wade in Black Jacket',
'Tyler in Casual Suit',
'Tyler in Shirt',
'Tyler in Suit',
'default',
'Edward in Blue Shirt',
'Susan in Black Shirt',
'Monica in Sleeveless',
];

//console.log('AVATARS LISTS', completion.response.avatars);
Expand Down Expand Up @@ -8408,7 +8411,7 @@ class RoomClient {
async handleVideoAI() {
const vb = document.createElement('div');
vb.setAttribute('id', 'avatar__vb');
vb.className = 'videoMenuBar fadein';
vb.className = 'videoAvatarMenuBar fadein';

const fs = this.createButton('avatar__fs', html.fullScreen);
const pin = this.createButton('avatar__pin', html.pin);
Expand Down

0 comments on commit 9c62253

Please sign in to comment.