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.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Youtube playback problem #2

Post Reply
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Youtube playback problem #2

Post by salvadordf »

Please, read the "Codecs" section at the bottom of this web page :
https://www.briskbard.com/index.php?lang=en&pageid=cef

The CEF3 binaries found at spotify.com can only play content with open source codecs due to licensing issues and the US patent law. Some YouTube videos can only be played with proprietary codecs and any browser using those binaries will show messages like that one.

If you need the proprietary codecs for your app, you can build the CEF3 binaries using Visual Studio. Read this forum thread for more info :
http://magpcss.org/ceforum/viewtopic.php?f=6&t=13515
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Youtube playback problem #2

Post by salvadordf »

milika wrote: Mon Nov 19, 2018 10:18 pm Hoew about CEF4Delphi? do I need to compile for it also?
CEF4Delphi doesn't need to be compiled in any special way.
It should work fine if you use the CEF3 binaries with proprietary codecs enabled.
milika wrote: Mon Nov 19, 2018 10:21 pm Or could i get just built binaries with h264 and mp3? or is it illegal somehow :)
I'm not a lawyer and I can't give you legal advice.

The MP3 patent expired a few months ago and the current CEF3 binaries have that codec enabled but if you need H264 you will have to build the CEF3 binaries.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Youtube playback problem #2

Post by salvadordf »

The CEF3 C API changes frequently and CEF4Delphi has to be adapted to those changes. That makes it incompatible with older versions.

People often used the wrong CEF3 binaries version and this was the cause of many unexpected errors so I added code to check the version.

If you build the CEF3 binaries make sure you download the CEF3 sources that match the exact CEF3 version supported by CEF4Delphi.

Please, read these web pages too :
https://bitbucket.org/chromiumembedded/ ... QuickStart
https://bitbucket.org/chromiumembedded/ ... ndBuilding
Post Reply