Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- procedure OnbeforeCmdLine(const processType: ustring; const commandLine: ICefCommandLine);
- begin
- //commandLine.AppendSwitch('single-process');
- commandLine.AppendSwitch('allow-outdated-plugins');
- commandLine.AppendSwitchWithValue('ppapi-flash-path', Format('%spepflashplayer.dll', [ExtractFilePath
- (ParamStr(0))]));
- commandLine.AppendSwitchWithValue('ppapi-flash-version', '24.0.0.221');
- end;
- initialization
- CefSingleProcess := True;
- CefPersistSessionCookies := True;
- CefOnBeforeCommandLineProcessing := OnbeforeCmdLine;
- end.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement