Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I use CommandLine? #11

Closed
rubinho241180 opened this issue Feb 12, 2017 · 1 comment
Closed

How can I use CommandLine? #11

rubinho241180 opened this issue Feb 12, 2017 · 1 comment

Comments

@rubinho241180
Copy link

Hi, sorry my bad english...
My name is Rubens and... firstly, congratulations for the project.

I use another dcef3 soluction and I use CommandLine like this:

procedure OnBeforeCommandLine(const  processType: ustring; const  commandLine: ICefCommandLine);
begin
  commandline.AppendSwitch('--use-fake-ui-for-media-stream');
  commandline.AppendSwitch('--enable-media-stream');
  commandline.AppendSwitch('--disable-notifications');

end;


initialization

  DcefBApp.OnBeforeCommandLineProcessing := OnBeforeCommandLine;

end.

How can I use CommandLine in CEF4Delphi?

Thank you!

@salvadordf
Copy link
Owner

salvadordf commented Feb 13, 2017

Download the latest version of CEF4Delphi and add all your switches using the TCEFApplication.AddCustomCommandLine procedure

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants