CometChatVideoBubble
is the content component for Media message if the media sent is a video.
Properties | Type | Description |
---|---|---|
videoUrl | string | the path of the video to play |
thumbnailUrl | string | used to set a custom thumbnail for the video |
placeholderImage | ImageType | the path of the image from assets to display when the actual image is being fetched |
style | VideoBubbleStyleInterface | used to customize appearance of this widget |
playIcon | Icon | icon to display stacked on top of the bubble |
onPress | Function | custom action on tapping the video bubble play icon |
Properties | Type | Description |
---|---|---|
playIconTint | string | used to provide colour to the video play icon |
background | string | Sets the background colour |
borderRadius | number | Sets the corner radius |
border | BorderStyleInterface | Sets the border width for Members |
width | string | number | Sets the width for the Members |
height | string | number | Sets the heigth for the Members |
playIconBackgroundColor | string | used to set play background color |