Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.

Sending videos on Whatsapp web

Post Reply
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Sending videos on Whatsapp web

Post 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
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Sending videos on Whatsapp web

Post 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.
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: Sending videos on Whatsapp web

Post by thefunkyjoint »

Any hints about how to do it ? I have no clue :shock:
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Sending videos on Whatsapp web

Post 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.
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: Sending videos on Whatsapp web

Post by thefunkyjoint »

Sounds hard... Do you know if is there any video format that is not proprietary and could run in the default binaries ?
User avatar
salvadordf
Posts: 4057
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Sending videos on Whatsapp web

Post 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
thefunkyjoint
Posts: 460
Joined: Thu Aug 10, 2017 12:40 pm

Re: Sending videos on Whatsapp web

Post by thefunkyjoint »

That's nice, thank you for the info ! :D
Post Reply