Pārlūkot izejas kodu

feat: (video-thumbnail) add permanent participant name to video thumbnail

master
Andrei Oltean 3 gadus atpakaļ
vecāks
revīzija
dd89034503

+ 4
- 1
react/features/filmstrip/components/web/Thumbnail.js Parādīt failu

@@ -180,7 +180,7 @@ export type Props = {|
180 180
     _localFlipX: boolean,
181 181
 
182 182
     /**
183
-     * An object with information about the participant related to the thumbnaul.
183
+     * An object with information about the participant related to the thumbnail.
184 184
      */
185 185
     _participant: Object,
186 186
 
@@ -786,6 +786,8 @@ class Thumbnail extends Component<Props, State> {
786 786
             containerClassName = `${containerClassName} self-view-mobile-portrait`;
787 787
         }
788 788
 
789
+        console.log(_participant);
790
+
789 791
         return (
790 792
             <span
791 793
                 className = { containerClassName }
@@ -812,6 +814,7 @@ class Thumbnail extends Component<Props, State> {
812 814
                 </span>
813 815
                 <div className = 'videocontainer__toolbar'>
814 816
                     <StatusIndicators participantID = { id } />
817
+                    <div>{ _participant.name }</div>
815 818
                 </div>
816 819
                 <div className = 'videocontainer__toptoolbar'>
817 820
                     { this._renderTopIndicators() }

Notiek ielāde…
Atcelt
Saglabāt