Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(video-thumbnail) Fixed name for remote participants

robertpin0715f8579615
diff --git a/css/_videolayout_default.scss b/css/_videolayout_default.scss
index c622d123e5..1ce2a2f13b 100644
--- a/css/_videolayout_default.scss
+++ b/css/_videolayout_default.scss
@@ -190,6 +190,13 @@
z-index: $zindex2;
}
+ &__participant-name {
+ color: #fff;
+ background-color: rgba(0,0,0,.4);
+ padding: 3px 7px;
+ border-radius: 3px;
+ }
+
@media (min-width: 581px) {
&.shift-right {
&#largeVideoContainer {
diff --git a/react/features/filmstrip/components/web/Thumbnail.js b/react/features/filmstrip/components/web/Thumbnail.js
index db48e6c6d3..0f75380a37 100644
--- a/react/features/filmstrip/components/web/Thumbnail.js
+++ b/react/features/filmstrip/components/web/Thumbnail.js
@@ -812,7 +812,7 @@ class Thumbnail extends Component<Props, State> {
</span>
<div className = 'videocontainer__toolbar'>
<StatusIndicators participantID = { id } />
- <div>{ _participant.name }</div>
+ <span className = 'videocontainer__participant-name'>{_participant.name}</span>
</div>
<div className = 'videocontainer__toptoolbar'>
{ this._renderTopIndicators() }
@@ -960,6 +960,7 @@ class Thumbnail extends Component<Props, State> {
</div>
<div className = 'videocontainer__toolbar'>
<StatusIndicators participantID = { id } />
+ <span className = 'videocontainer__participant-name'>{_participant.name}</span>
</div>
<div className = 'videocontainer__hoverOverlay' />
<div className = 'displayNameContainer'>