projects/openvidu-components-angular/src/lib/directives/api/stream.directive.ts
The videoControls directive allows show/hide the participants video controls in stream component.
Default: true
It can be used in the parent element VideoconferenceComponent specifying the name of the stream
component:
<ov-videoconference [streamVideoControls]="false"></ov-videoconference>
And it also can be used in the StreamComponent.
<ov-stream [videoControls]="false"></ov-stream>
AfterViewInit
OnDestroy
Selector | ov-videoconference[streamVideoControls], ov-stream[videoControls] |
Properties |
|
Methods |
Inputs |
Accessors |
constructor(elementRef: ElementRef, libService: OpenViduComponentsConfigService)
|
|||||||||
Parameters :
|
streamVideoControls |
Type : boolean
|
videoControls |
Type : boolean
|
clear |
clear()
|
Returns :
void
|
update | ||||||
update(value: boolean)
|
||||||
Parameters :
Returns :
void
|
Public elementRef |
Type : ElementRef
|
videoControlsValue |
Type : boolean
|
streamVideoControls | ||||||
setstreamVideoControls(value: boolean)
|
||||||
Parameters :
Returns :
void
|
videoControls | ||||||
setvideoControls(value: boolean)
|
||||||
Parameters :
Returns :
void
|