salvadordf / CEF4Delphi

CEF4Delphi is an open source project to embed Chromium-based browsers in applications made with Delphi or Lazarus/FPC for Windows, Linux and MacOS.
https://www.briskbard.com/forum/
Other
1.2k stars 365 forks source link

CEF4Delphi version is 87.0.4280.141, loading Flash error #463

Closed jwj76 closed 1 year ago

jwj76 commented 1 year ago

Use this to load

GlobalCEFApp.AddCustomCommandLine('--register-pepper-plugins','./libpepflashplayer.so ;application/x-shockwave-flash');

If GlobalCEFApp. NoSandbox:=true; Error reported as NOT SANDBOXED

If GlobalCEFApp. NoSandbox:=False; Error reported as [WARNING: flash/platform/pepper/pep_module.cpp (63)] SANDBOXED

The above cannot display Flash files properly.

May I ask how to handle it?

salvadordf commented 1 year ago

CEF 87 is extremely old and unsupported. Flash and is also deprecated.

If you still want to use the Flash plugin you can set the GlobalCEFApp.CustomFlashPath property as you can see here

Please, use our forum for more questions.