CometChatVideoBubble
is the content view for a MediaMessage if the media sent is a video.
Methods | Type | Description |
---|---|---|
set(videoURL: String) | String | the url of the video to play |
set(thumnailImageUrl: String) | String | used to set a custom thumbnail for the video |
set(style: VideoBubbleStyle) | VideoBubbleStyle | used to customize appearance of this bubble |
onClick(onClick: (() -> ()) | onClick | custom action on tapping the video bubble play icon |
Methods | Type | Description |
---|---|---|
set(background: UIColor) | UIColor | used to set background color |
set(borderWidth: CGFloat) | CGFloat | used to set border |
set(cornerRadius: CometChatCornerStyle) | CometChatCornerStyle | used to set border radius |
set(borderColor: UIColor) | UIColor | used to set border color |
set(playIconTint: UIColor) | UIColor | used to set play icon tint color |
set(playIconBackgroundColor: UIColor) | UIColor | used to set play icon background color |