VideoThumbnail

VideoThumbnail is the default UI for rendering video thumbnails in MessageList. It uses ImageComponent from ComponentsContext for the thumbnail image and can show pending upload progress for local video attachments.

Best Practices

  • Provide a fallback thumbnail when thumb_url is missing.
  • Keep thumbnail sizes consistent with image galleries.
  • Avoid heavy overlays that obscure the preview.
  • Ensure tap targets are clear for play/open actions.
  • Use cached images for smooth scrolling performance.

Props

PropDescriptionType
imageStyleStyle applied to the thumbnail image.object
localIdLocal attachment id used to read client.uploadManager for pending uploads.string
styleStyle applied to the thumbnail container.object
thumb_urlThumbnail URL for the video.string

UI Component Props

PropDescriptionType
AttachmentUploadIndicatorRenders pending upload progress over local video thumbnails. Defaults to AttachmentUploadIndicator.ComponentType
ImageComponentRenders the thumbnail image. Defaults to React Native Image, and can be replaced for custom caching behavior.ComponentType