stream-chat-android icon indicating copy to clipboard operation
stream-chat-android copied to clipboard

Video thumbnail not showing

Open adadhich1 opened this issue 1 year ago • 4 comments

Describe the bug After attaching the video attachment in the chat, thumbnail is not showing even after making it enabled using videoThumbnailsEnabled = true, SDK version

  • 6.0.10

To Reproduce Steps to reproduce the behavior:

  1. Go to message list
  2. Click on attachment and send any video attachment
  3. once attachment is sent, video thumbnail is not showing

Expected behavior After sending video attachment, it should show video thumbnail in message list

Device:

  • all the devices

adadhich1 avatar Dec 21 '23 08:12 adadhich1

Can you try it with our sample application? I tried the latest version (Compose) and video previews seem to work - both when recorded directly and uploaded or when attached as file.

videoThumbnailsEnabled is enabled by default in the ChatTheme.

DanielNovak avatar Dec 21 '23 12:12 DanielNovak

@DanielNovak, I am using xml and not compose, and even though videoThumbnailsEnabled is enabled by default but its not visible to me, i've tried with almost 5-6 devices, its not working in any of those.

adadhich1 avatar Dec 22 '23 03:12 adadhich1

I tried our XML sample application (in this repo) and video thumbnails work there. Are you using our UI components? Any customisation that could affect this? Did this work before and stopped working after updating to a newer version?

DanielNovak avatar Dec 22 '23 06:12 DanielNovak

Yes, we are using your UI components, earlier we were using very old sdk version, that time we could see video files as other doc files and not as video thumbnail, Also we did not make any customisation to the message list

adadhich1 avatar Dec 26 '23 05:12 adadhich1