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

Don´t send media video #3154

Closed
1 task done
Darkemdk opened this issue Jul 1, 2024 · 1 comment
Closed
1 task done

Don´t send media video #3154

Darkemdk opened this issue Jul 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Darkemdk
Copy link

Darkemdk commented Jul 1, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I can't send videos on WhatsApp, I have already used the techniques in question #3002 without success

Expected behavior

const media = MessageMedia.fromFilePath(C:\\Users\\Administrator\\Desktop\\Bot\\video.mp4);

await sendMensage(client, numberprefix, media, { sendVideoasGif: true });
}

Steps to Reproduce the Bug or Issue

1.Send .mp4 video
2.Send video in WhatsApp

Relevant Code

Error: Evaluation failed: a
at ExecutionContext._ExecutionContext_evaluate (C:\Users\Administrator\Desktop\Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:229:15)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ExecutionContext.evaluate (C:\Users\Administrator\Desktop\Bot\node_modules\puppeteer-core\lib\cjs\puppeteer\common\ExecutionContext.js:107:16)
at async Client.sendMessage (C:\Users\Administrator\Desktop\Bot\node_modules\whatsapp-web.js\src\Client.js:932:28)
at async enviarMensagem (C:\Users\Administrator\Desktop\Bot\enviar_gif.js:60:7)
at async processMessages (C:\Users\Administrator\Desktop\Bot\enviar_gif.js:102:3)
at async Client. (C:\Users\Administrator\Desktop\Bot\enviar_gif.js:136:5)

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Windows
whatsapp-web.js version 1.23.1-alpha.3
WhatsApp Web version [run await client.getWWebVersion()]:
Node.js Version 20.11

Additional context

I have already used the techniques in question #3002 without success

@Darkemdk Darkemdk added the bug Something isn't working label Jul 1, 2024
@alechkos
Copy link
Collaborator

alechkos commented Jul 1, 2024

Use #2816

@alechkos alechkos closed this as not planned Won't fix, can't repro, duplicate, stale Jul 1, 2024
Repository owner locked and limited conversation to collaborators Jul 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants