Page 1 of 1

Unable to play a video in CEF4 > Delphi browser

Posted: Tue Nov 17, 2020 12:52 pm
by john.augustine
Hi,

I am getting following message when i try to run video in CEF4 > Delphi browser.

"The media could not be loaded, either because the server or network failed or because the format is not supported."

Note: This works fine TWebBrowser. So there is no issues with server or network

Please advise on this.

Thanks & Regards,
John Augustine

Re: Unable to play a video in CEF4 > Delphi browser

Posted: Tue Nov 17, 2020 1:49 pm
by salvadordf
The CEF binaries available at Spotify only have open source codecs and some websites use proprietary codecs like H264 or AAC.
https://www.briskbard.com/index.php?lan ... cef#codecs

Spotify only includes open source codecs to avoid legal problems with the patent owners of those codecs but you can build the CEF binaries with proprietary codecs following this guide :
viewtopic.php?f=10&t=1097

Re: Unable to play a video in CEF4 > Delphi browser

Posted: Tue Nov 17, 2020 2:05 pm
by john.augustine
Thanks much!

I will try this.

Regards,
John Augustine