GetStream / stream-chat-android

:speech_balloon: Android Chat SDK ➜ Stream Chat API. UI component libraries for chat apps. Kotlin & Jetpack Compose messaging SDK for Android chat
https://getstream.io/chat/sdk/android/
Other
1.43k stars 268 forks source link

Video thumbnail not showing #5127

Open adadhich1 opened 8 months ago

adadhich1 commented 8 months ago

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

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:

DanielNovak commented 8 months ago

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.

adadhich1 commented 8 months ago

@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.

DanielNovak commented 8 months ago

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?

adadhich1 commented 8 months ago

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