Delphi Chromium flash player

Asked

Viewed 217 times

1

I’m mounting a simple browser with Chromium, but when I open a flash site it asks to install the flash plugin, I wonder if there is any way to load the flash not to need to install on the computer, have some dll not know... Does anyone know how ?

component of Chromium

  • You know for sure if Chromium doesn’t use the IE Api ?

  • I don’t know, but I solved it like this: > program Project1; uses Forms, ceflib, cefvcl, Unit1 in 'Unit1.pas' {Form1}; {$R *.res} Procedure Customcommandline (const processType: ustring; const commandLine: ICefCommandLine);
begin
 commandLine.AppendSwitch('--enable-system-flash');
end;

begin
 CefCache := 'cache';
 CefOnBeforeCommandLineProcessing := CustomCommandLine;
 CefSingleProcess := False; if not Cefloadlibdefault then Exit; Application.Initialize; Application.Createform(Tform1, Form1); Application.Run; end..

  • @Robinhodemorais could create an answer with this code and a brief explanation of why pq works. This 'minor field' is called a comment and serves to ask for clarification.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.