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.

CEF4Delphi update

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

CEF4Delphi update

Post by salvadordf »

Hi,

I've been updating CEF4Delphi lately. These are the new features :
  • New KioskOSRBrowser demo : Full screen browser in OSR mode with a virtual keyboard that is shown automatically when the user clicks on an editable HTML element. The context menu also has an option to show/hide the keyboard. Press the ESC key to exit this demo.
  • New GlobalCEFApp.AutoplayPolicy property : Chromium changed the autoplay policy a few months ago but this property allows you to enable it again. These are the values for this property :
    • appDefault : Default autoplay policy.
    • appDocumentUserActivationRequired : Autoplay policy that requires a document user activation.
    • appNoUserGestureRequired : Autoplay policy that does not require any user gesture.
    • appUserGestureRequired : Autoplay policy to require a user gesture in order to play.
    • appUserGestureRequiredForCrossOrigin : Autoplay policy to require a user gesture in order to play for cross origin iframes.
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Re: CEF4Delphi update

Post by thefunkyjoint »

Hello,

Does this update use another Chromium version or is it the same of the previous CEF4 update ?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: CEF4Delphi update

Post by salvadordf »

It uses the same CEF3 binaries and the same Chromium version.
thefunkyjoint
Posts: 513
Joined: Thu Aug 10, 2017 12:40 pm

Re: CEF4Delphi update

Post by thefunkyjoint »

Thanks for the info ! :)
Post Reply