File

projects/openvidu-components-angular/src/lib/directives/api/stream.directive.ts

Description

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:

Example :
<ov-videoconference [streamVideoControls]="false"></ov-videoconference>


And it also can be used in the StreamComponent.

Example :
<ov-stream [videoControls]="false"></ov-stream>

Implements

AfterViewInit OnDestroy

Metadata

Index

Properties
Methods
Inputs
Accessors

Constructor

constructor(elementRef: ElementRef, libService: OpenViduComponentsConfigService)
Parameters :
Name Type Optional
elementRef ElementRef No
libService OpenViduComponentsConfigService No

Inputs

streamVideoControls
Type : boolean
videoControls
Type : boolean

Methods

clear
clear()
Returns : void
update
update(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

Properties

Public elementRef
Type : ElementRef
videoControlsValue
Type : boolean

Accessors

streamVideoControls
setstreamVideoControls(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void
videoControls
setvideoControls(value: boolean)
Parameters :
Name Type Optional
value boolean No
Returns : void

results matching ""

    No results matching ""