feat: (video-thumbnail) add permanent participant name to video thumbnail
This commit is contained in:
parent
92c34c9c3e
commit
dd89034503
|
@ -180,7 +180,7 @@ export type Props = {|
|
||||||
_localFlipX: boolean,
|
_localFlipX: boolean,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* An object with information about the participant related to the thumbnaul.
|
* An object with information about the participant related to the thumbnail.
|
||||||
*/
|
*/
|
||||||
_participant: Object,
|
_participant: Object,
|
||||||
|
|
||||||
|
@ -786,6 +786,8 @@ class Thumbnail extends Component<Props, State> {
|
||||||
containerClassName = `${containerClassName} self-view-mobile-portrait`;
|
containerClassName = `${containerClassName} self-view-mobile-portrait`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(_participant);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<span
|
<span
|
||||||
className = { containerClassName }
|
className = { containerClassName }
|
||||||
|
@ -812,6 +814,7 @@ class Thumbnail extends Component<Props, State> {
|
||||||
</span>
|
</span>
|
||||||
<div className = 'videocontainer__toolbar'>
|
<div className = 'videocontainer__toolbar'>
|
||||||
<StatusIndicators participantID = { id } />
|
<StatusIndicators participantID = { id } />
|
||||||
|
<div>{ _participant.name }</div>
|
||||||
</div>
|
</div>
|
||||||
<div className = 'videocontainer__toptoolbar'>
|
<div className = 'videocontainer__toptoolbar'>
|
||||||
{ this._renderTopIndicators() }
|
{ this._renderTopIndicators() }
|
||||||
|
|
Loading…
Reference in New Issue