whatsapp-http-api icon indicating copy to clipboard operation
whatsapp-http-api copied to clipboard

[BUG][WEBJS] - Unable to send video

Open francescodauria opened this issue 9 months ago • 2 comments

I tried to send video with endpoint /api/sendVideo but it is continuously loading via PostMan. I used the devlikeapro/whatsapp-http-api-plus:chrome image as written in the documentation.

Version

{
  "version": "2024.5.3",
  "engine": "WEBJS",
  "tier": "PLUS",
  "browser": "/usr/bin/google-chrome-stable"
}

Docker Logs

In the Docker logs there are no messages

francescodauria avatar May 07 '24 12:05 francescodauria

Hi, we're on it! As a quick workaround - you can send the video as attachment (file) https://waha.devlike.pro/docs/how-to/send-messages/#send-file-imagesversionspluspng IT's not the best solution, but it's something...

patron:PRO

allburov avatar May 08 '24 02:05 allburov

Is there any provision for resolution?

francescodauria avatar May 08 '24 07:05 francescodauria

Fixed in 2024.5.6!

Try first the example payload from https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

{
  "session": "default",
  "chatId": "[email protected]",
  "caption": "Watch this video!",
  "file": {
    "mimetype": "video/mp4",
    "filename": "video.mp4",
    "url": "https://github.com/devlikeapro/whatsapp-http-api/raw/core/examples/video.mp4"
  }
}

patron:PRO

devlikepro avatar May 12 '24 03:05 devlikepro

Added a temporary solution in WAHA Plus 2024.5.9


https://waha.devlike.pro/docs/how-to/send-messages/#send-video-imagesversionspluspng

⚠️ WEBJS (default) engine notes for sending videos ⚠️

  • 💡 If you're experiencing "forever loading" issue (#321, #328) - set up WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix environment variable:
docker run -it -p 3000:3000/tcp -e WAHA_WEBJS_WEB_VERSION=2.2412.54-videofix devlikeapro/whatsapp-http-api-plus:chrome

I don't close the issue #328, please use it as the latest new about the sending video issues!

patron:PRO

allburov avatar May 22 '24 09:05 allburov

I'll try it. Thank you.

patron:PLUS

francescodauria avatar May 23 '24 09:05 francescodauria