salvadordf / OldCEF4Delphi

OldCEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

When using flash plug-ins, there will be a black screen flashing over

lobtao opened this issue · comments

When using flash plug-ins, there will be a black screen flashing over

Please, provide more details to reproduce that issue.

I just tested the MiniBrowser demo with the latest flash plugin installed in Windows and I could load and play several flash games.

Are you using the flash plugin installed in Windows?
Are you using GlobalCEFApp.CustomFlashPath to load the plugin manually?
Are you using the "--ppapi-flash-path" and "--ppapi-flash-version" switches?

It's already set up. Adding a cmd.exe to the current directory solves this problem.
SetEnvironmentVariable('ComSpec', pchar(GetCurrentDir+'/cmd.exe'));

Thanks for the information to solve this issue!