Page 2 of 4

Re: MiniBrowser

Posted: Thu May 27, 2021 4:52 am
by Cantar
The Minibrowser does not play Facebook videos.
How can you fix this problem?

Re: MiniBrowser

Posted: Thu May 27, 2021 4:59 am
by Cantar
The Minibrowser does not play Facebook videos.
How can you fix this problem?

Re: MiniBrowser

Posted: Thu May 27, 2021 6:27 am
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

Re: MiniBrowser

Posted: Thu May 27, 2021 3:22 pm
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.

Re: MiniBrowser

Posted: Thu May 27, 2021 4:16 pm
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.

Re: MiniBrowser

Posted: Fri May 28, 2021 12:03 pm
by Cantar
I can't sign in to Gmail. The message appears.
"This browser or application may be insecure."

Re: MiniBrowser

Posted: Fri May 28, 2021 1:09 pm
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.

Re: MiniBrowser

Posted: Sun May 30, 2021 6:01 am
by Cantar
Can I view the saved logins?
And how it is done

Re: MiniBrowser

Posted: Sun May 30, 2021 7:32 am
by salvadordf
I don't know how to do that. :?

Re: MiniBrowser

Posted: Thu Jun 03, 2021 9:28 am
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