Page 1 of 1

Sending videos on Whatsapp web

Posted: Thu Jun 21, 2018 12:43 pm
by thefunkyjoint
Hi,

I did a custom app for use Whatsapp Web with CEF4Delphi. Everything works, except the sending of videos... somehow when i try to send a video file (mp4) Whatsapp claims the file is not supported. The same file sending on regular Chrome works.

Is there any extra configuration that should i try on CEF4Delphi ?

Thanks

Re: Sending videos on Whatsapp web

Posted: Thu Jun 21, 2018 3:22 pm
by salvadordf
If this is what's happening to you :
https://github.com/cefsharp/CefSharp/issues/1665

...then you need to build the CEF3 binaries with proprietary codecs enabled.

Re: Sending videos on Whatsapp web

Posted: Thu Jun 21, 2018 6:05 pm
by thefunkyjoint
Any hints about how to do it ? I have no clue :shock:

Re: Sending videos on Whatsapp web

Posted: Thu Jun 21, 2018 8:08 pm
by salvadordf
I'm not a Visual Studio expert but this thread and many others in that forum have guides and clues about it :
http://magpcss.org/ceforum/viewtopic.php?f=6&t=13515

You will need a very powerful PC with lots of RAM.
It takes several hours to build the binaries.

Re: Sending videos on Whatsapp web

Posted: Mon Jun 25, 2018 12:09 pm
by thefunkyjoint
Sounds hard... Do you know if is there any video format that is not proprietary and could run in the default binaries ?

Re: Sending videos on Whatsapp web

Posted: Mon Jun 25, 2018 12:16 pm
by salvadordf
When you visit html5test.com with any CEF4Delphi demo it says that it supports these video codecs :
  • Ogg Theora
  • WebM with VP8
  • WebM with VP9

Re: Sending videos on Whatsapp web

Posted: Mon Jun 25, 2018 4:41 pm
by thefunkyjoint
That's nice, thank you for the info ! :D