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

Flash support in CEF v49+ #235

Open
cztomczak opened this issue Jun 28, 2016 · 0 comments
Open

Flash support in CEF v49+ #235

cztomczak opened this issue Jun 28, 2016 · 0 comments

Comments

@cztomczak
Copy link
Owner

cztomczak commented Jun 28, 2016

Windows / Mac

A system-wide installation of Pepper Flash that will be automatically discovered and loaded by CEF on Windows and OS X can be downloaded from adobe.com - choose "FP for Opera and Chromium -- PPAPI" in Step 2:

https://get2.adobe.com/flashplayer/otherversions/

After installation to enable pass the --enable-system-flash command-line argument (this is a CEF switch). In CEF Python you can set command line switches programmatically, see api/CommandLineSwitches.md.

You could also specify PPAPI flash plugin from Google Chrome installation using --ppapi-flash-version and --ppapi-flash-path switches. Example path would be: "C:\Program Files (x86)\Google\Chrome\Application\47.0.2526.106\PepperFlash\pepflashplayer.dll". Note that Google Chrome version and CEF Python version should match - when using eg. cefpython v57 use pepper flash from Google Chrome v57.

Windows bug - console window

On Windows Pepper flash may open a console window. A few solutions are provided in this topic:
https://www.magpcss.org/ceforum/viewtopic.php?f=6&t=13094&start=20

Upstream Chromium issue: https://bugs.chromium.org/p/chromium/issues/detail?id=508002

Linux

Adobe does not provide a system-wide install of the Pepper Flash plugin on Linux. To load the plugin included with Google Chrome:

  1. Install a version of Google Chrome that is close to the CEF version.
  2. Specify the Flash library path and version via the command-line. The version number
    can be identified by viewing the manifest.json file in the same directory as libpepflashplayer.so.
cefclient --ppapi-flash-version=17.0.0.141 --ppapi-flash-path=/opt/google/chrome-unstable/PepperFlash/libpepflashplayer.so 

In CEF Python you can set command line switches programmatically, see api/CommandLineSwitches.md.

Upstream

Upstream issue 1586:
https://bitbucket.org/chromiumembedded/cef/issues/1586/add-pepper-flash-plugin-support

@cztomczak cztomczak added this to the Chrome 51 milestone Jun 28, 2016
@cztomczak cztomczak changed the title Flash support with the --enable-system-flash switch Flash support in CEF 51+ Jun 28, 2016
@cztomczak cztomczak modified the milestones: v51, Chrome 50+ Feb 24, 2017
@cztomczak cztomczak modified the milestones: v51, v49 Aug 26, 2018
@cztomczak cztomczak changed the title Flash support in CEF 51+ Flash support in CEF v49+ Aug 26, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant