mirror of https://github.com/OpenVidu/openvidu.git
openvidu-components: Added black poster when video is muted
parent
2785d3c036
commit
5fa3f749f5
|
@ -1,4 +1,10 @@
|
|||
.poster {
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
background-color: #000000;
|
||||
}
|
||||
|
||||
.initial {
|
||||
position: absolute;
|
||||
display: inline-grid;
|
||||
z-index: 1;
|
||||
|
|
|
@ -7,8 +7,10 @@ import { Component, Input } from '@angular/core';
|
|||
@Component({
|
||||
selector: 'ov-avatar-profile',
|
||||
template: `
|
||||
<div class="poster" [ngStyle]="{ 'background-color': color }">
|
||||
<span id="poster-text">{{ letter }}</span>
|
||||
<div class="poster">
|
||||
<div class="initial" [ngStyle]="{ 'background-color': color }">
|
||||
<span id="poster-text">{{ letter }}</span>
|
||||
</div>
|
||||
</div>
|
||||
`,
|
||||
styleUrls: ['./avatar-profile.component.css']
|
||||
|
|
Loading…
Reference in New Issue