Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][WEBJS] - Unable to send video #321

Closed
francescodauria opened this issue May 7, 2024 · 5 comments
Closed

[BUG][WEBJS] - Unable to send video #321

francescodauria opened this issue May 7, 2024 · 5 comments
Labels
bug Something isn't working engine:WEBJS patron:PLUS

Comments

@francescodauria
Copy link

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 francescodauria added the bug Something isn't working label May 7, 2024
@allburov
Copy link
Contributor

allburov commented May 8, 2024

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

@francescodauria
Copy link
Author

Is there any provision for resolution?

@devlikepro
Copy link
Contributor

devlikepro commented May 12, 2024

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": "11111111111@c.us",
  "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

@allburov
Copy link
Contributor

allburov commented May 22, 2024

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

@francescodauria
Copy link
Author

francescodauria commented May 23, 2024

I'll try it.
Thank you.

patron:PLUS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working engine:WEBJS patron:PLUS
Projects
None yet
Development

No branches or pull requests

3 participants