# SDK not generating thumbnails for video

**URL:** <https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869>\
**Category:** iOS\
**Created:** [March 12, 2021, 4:37pm UTC](https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869 "2021-03-12T16:37:41Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![PauloFonseca](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/paulofonseca/32/1072_2.png) [@PauloFonseca](https://community.sendbird.com/u/PauloFonseca)\
**Post date:** [March 12, 2021, 4:37pm UTC](https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869/1 "2021-03-12T16:37:41Z")

</div>

Hello,

We’re using SendBirdSDK version 3.0.218 and SendBirdSyncManager 1.1.36. SendBirdSDK is not generating thumbnails for video, but it works for images/photos.

```
let fileMessageParams = SBDFileMessageParams(file: videoFileData)!
fileMessageParams.fileName = videoName
fileMessageParams.mimeType = mimeType
fileMessageParams.fileSize = UInt(videoFileData.count)
fileMessageParams.thumbnailSizes = [SBDThumbnailSize.make(withMaxWidth: 320.0, maxHeight: 320.0)]
fileMessageParams.data = nil
fileMessageParams.customType = nil

```

Can you help me with this?

Thank you,  
Paulo

---

<div class="post-metadata">

**Author:** ![Tyler](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/tyler/32/810_2.png) [@Tyler](https://community.sendbird.com/u/Tyler)\
**Post date:** [March 12, 2021, 4:53pm UTC](https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869/2 "2021-03-12T16:53:11Z")

</div>

@PauloFonseca,

Welcome to the Sendbird Community. I’ve moved your post into its own topic as its not directly related to the topic you posted on.

---

<div class="post-metadata">

**Author:** ![PauloFonseca](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/paulofonseca/32/1072_2.png) [@PauloFonseca](https://community.sendbird.com/u/PauloFonseca)\
**Post date:** [May 12, 2021, 1:37pm UTC](https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869/3 "2021-05-12T13:37:10Z")

</div>

The thumbnails are working now.

Thank you

---

<div class="post-metadata">

**Author:** ![Femina-barot](https://avatars.discourse-cdn.com/v4/letter/f/48db29/32.png) [@Femina-barot](https://community.sendbird.com/u/Femina-barot)\
**Post date:** [April 1, 2024, 6:45am UTC](https://community.sendbird.com/t/sdk-not-generating-thumbnails-for-video/1869/4 "2024-04-01T06:45:49Z")

</div>

Hey i was getting the same problem can you help me with this I have faced the same problem where the images thumbnail are being generated but when I send video I was not able to get one  
const fileObject = {  
uri: asset.uri,  
name: asset.fileName,  
type: asset.type,  
};  
channel.sendFileMessage({file: fileObject});  
this is how I send images and video
