rtk-screenshare-view
A component which plays a participant's screenshared video.
It also allows for placement of other components similar to rtk-participant-tile.
This component will not render anything if the participant hasn't start screensharing.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
hideFullScreenButton | boolean | ✅ | - | Hide full screen button |
iconPack | IconPack | ❌ | defaultIconPack | Icon pack |
meeting | Meeting | ✅ | - | Meeting object |
nameTagPosition | | 'bottom-left' | 'bottom-right' | 'bottom-center' | 'top-left' | 'top-right' | 'top-center' | ✅ | - | Position of name tag |
participant | Peer | ✅ | - | Participant object |
size | Size | ✅ | - | Size |
t | RtkI18n | ❌ | useLanguage() | Language |
variant | 'solid' | 'gradient' | ✅ | - | Variant |
<rtk-screenshare-view></rtk-screenshare-view><rtk-screenshare-view></rtk-screenshare-view><script> const el = document.querySelector("rtk-screenshare-view");
el.hideFullScreenButton= true; el.meeting= meeting</script>