Skip to content
Cloudflare Docs

rtk-participant-tile

A component which plays a participants video and allows for placement of components like rtk-name-tag, rtk-audio-visualizer or any other component.

Properties

PropertyTypeRequiredDefaultDescription
configUIConfigcreateDefaultConfig()Config object
iconPackIconPackdefaultIconPackIcon pack
isPreviewboolean-Whether tile is used for preview
meetingMeeting-Meeting object
nameTagPosition| 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-left' | 'top-right' | 'top-center'-Position of name tag
participantPeer-Participant object
sizeSize-Size
statesStates-States object
tRtkI18nuseLanguage()Language
variant'solid' | 'gradient'-Variant

Usage Examples

Basic Usage

<!-- component.html -->
<rtk-participant-tile></rtk-participant-tile>

With Properties

<!-- component.html -->
<rtk-participant-tile
[isPreview]="true"
[meeting]="meeting"
[nameTagPosition]="| 'bottom-left'
| 'bottom-right'
| 'bottom-center'
| 'top-left'
| 'top-right'
| 'top-center'">
</rtk-participant-tile>