Page 1 of 1

Re: Youtube playback problem #2

Posted: Mon Nov 19, 2018 8:38 am
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

Re: Youtube playback problem #2

Posted: Mon Nov 19, 2018 10:47 pm
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.

Re: Youtube playback problem #2

Posted: Tue Nov 20, 2018 7:15 am
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