#video

15 messages · Page 1 of 1 (latest)

pulsar sun
#

Are you using Chrome instead of Chromium?

obsidian pike
#

@pulsar sun no

#

const client = new Client({
puppeteer:{
headless: true,
args: [
'--no-default-browser-check',
'--disable-session-crashed-bubble',
'--disable-dev-shm-usage',
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-accelerated-2d-canvas',
'--no-first-run'],
takeoverOnConflict: true,
},
authStrategy: new LocalAuth({
clientId: socket.request.session.user.mobile + "-" + id,
}),
webVersionCache:
{
remotePath: https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html,
type: 'remote'
},
});

#

when i am send image file it work . but for video mp4 file did not work

#

@pulsar sun i try with executablePath to my chrome path but same image sent video did not

pulsar sun
#
const client = new Client({
    puppeteer:{
      headless: true,
      args: [
        '--no-default-browser-check',
        '--disable-session-crashed-bubble',
        '--disable-dev-shm-usage',
        '--no-sandbox',
        '--disable-setuid-sandbox',
        '--disable-accelerated-2d-canvas',
        '--no-first-run'],
        takeoverOnConflict: true,
        executablePath: 'C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe',
    },
    authStrategy: new LocalAuth({
      clientId: socket.request.session.user.mobile + "-" + id,
    }),
    webVersionCache: 
    {
      remotePath: https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html,
      type: 'remote' 
    },
  });
obsidian pike
#

i try with executablePath to my chrome path but same image sent video did not

pulsar sun
obsidian pike
pulsar sun
#

missing await

await client.sendMessage(....);
obsidian pike
#

nothing in catch block .

#

@pulsar sun 'await' expressions are only allowed within async functions and at the top levels of modules

pulsar sun