evolution-api icon indicating copy to clipboard operation
evolution-api copied to clipboard

Video Thumbnail Not Displayed in the Recipient's WhatsApp When Auto-Download Is Disabled

Open chetanshintre opened this issue 8 months ago • 1 comments

Welcome!

  • [x] Yes, I have searched for similar issues on GitHub and found none.

What did you do?

When the recipient's WhatsApp auto-download is disabled and a video message is sent via the /message/sendMedia/{instance} endpoint, the message is delivered successfully. However, a blurred thumbnail of the same video is not visible on the recipient's device unless the video is downloaded (screenshot attached in the Screenshots/Videos section).

API Request Body:

{
  "number": "917xxxxxxxx2",
  "mediatype": "video",
  "mimetype": "video/mp4",
  "media": "https://commondatastorage.googleapis.com/gtv-videos-bucket/sample/ForBiggerEscapes.mp4"
}

Note: To test it properly, please disable the auto-download option on your device.

What did you expect?

A blurred thumbnail should be displayed if the video is not downloaded. See the screenshot "Message received via mobile app" in Screenshots/Videos section.

What did you observe instead of what you expected?

We observed that when sending a video through the mobile app, the blurred thumbnail is displayed when video at recipient is not downloaded. However, when using this library to send the same video, we noticed that the white background is shown instead of the blurred thumbnail. Screenshots for the both can be found in next section.

Screenshots/Videos

Message received via mobile app (sent from Google Photos app) – Please do not re-forward previously sent messages. Instead, attach a fresh copy from the Gallery app.

Image

Message received via evolution api

Image

Which version of the API are you using?

evolution-api v2.2.3

What is your environment?

Linux

Other environment specifications

No response

If applicable, paste the log output

No response

Additional Notes

No response

chetanshintre avatar Apr 21 '25 06:04 chetanshintre