File

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

Description

The captionsLangOptions directive allows to set the language options for the captions. It will override the languages provided by default. This propety is an array of objects which must comply with the CaptionsLangOption interface.

It is only available for VideoconferenceComponent.

Default: [ { name: 'English', lang: 'en-US' }, { name: 'Español', lang: 'es-ES' }, { name: 'Deutsch', lang: 'de-DE' }, { name: 'Français', lang: 'fr-FR' }, { name: '中国', lang: 'zh-CN' }, { name: 'हिन्दी', lang: 'hi-IN' }, { name: 'Italiano', lang: 'it-IT' }, { name: '日本語', lang: 'jp-JP' }, { name: 'Português', lang: 'pt-PT' } ]

<ov-videoconference [captionsLangOptions]="[{name:'Spanish', lang: 'es-ES'}]"></ov-videoconference>

Implements

OnDestroy

Metadata

results matching ""

    No results matching ""