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.

MiniBrowser

Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

The Minibrowser does not play Facebook videos.
How can you fix this problem?
Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

The Minibrowser does not play Facebook videos.
How can you fix this problem?
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser

Post by salvadordf »

The CEF binaries available at spotify.com only include open source video and audio codecs.

You need to build the CEF binaries with proprietary codecs in order to play those videos. Read this guide to know how :
https://www.briskbard.com/forum/viewtopic.php?f=10&t=1097
Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

You are using built-in codecs.
Why don't you change Chromium and use
codecs installed on Windows, such as those supplied
"K-Lite Codec Pack".
It would be very convenient.
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser

Post by salvadordf »

CEF4Delphi is just a CEF wrapper and I'm just an independent developer.

Google decides what codecs are included in Chromium, not me.

...but I agree with you. It would be much better to use the codecs installed in the system but that feature will probably require a lot of changes in Chromium's code.
Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

I can't sign in to Gmail. The message appears.
"This browser or application may be insecure."
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser

Post by salvadordf »

Use a different user agent string to sign in to Google using the current CEF4Delphi components.

Read this for more information :
https://www.briskbard.com/forum/viewtopic.php?f=8&t=751
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1370
https://www.briskbard.com/forum/viewtopic.php?f=8&t=1078
https://magpcss.org/ceforum/viewtopic.php?f=10&t=16764
https://magpcss.org/ceforum/viewtopic.php?f=10&t=16717

CEF is adding a new feature that uses a different API in Chromium to embed browsers. It's called "Chrome runtime" and it's used by some CEF4Delphi demos like TinyBrowser2.
If you use browsers in that mode you can sign in to Google, install browser extensions, etc... but "Chrome runtime" is still in experimental state.
Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

Can I view the saved logins?
And how it is done
User avatar
salvadordf
Posts: 4016
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: MiniBrowser

Post by salvadordf »

I don't know how to do that. :?
Cantar
Posts: 19
Joined: Thu May 20, 2021 1:04 pm

Re: MiniBrowser

Post by Cantar »

I added the code to the minibrowser:

Code: Select all

  type
    TMiniBrowserFrm = class (TForm)
    ...
    private
      procedure WMEndSession(var Msg: TWMQueryEndSession); message WM_QUERYENDSESSION;
      ...
  end;
 
implementation

    TMiniBrowserFrm.procedure WMEndSession (varMsg: TWMQueryEndSession);
    begin
      ...
    end;
but Form not get this message.
In projects without cef components this works
Post Reply