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.

Unable to play a video in CEF4 > Delphi browser

Post Reply
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

Unable to play a video in CEF4 > Delphi browser

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

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

Post 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
john.augustine
Posts: 48
Joined: Fri Jul 10, 2020 1:33 pm

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

Post by john.augustine »

Thanks much!

I will try this.

Regards,
John Augustine
Post Reply