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

Disable Adobe Flash By Default #3048

Closed
3 tasks done
amaitland opened this issue Feb 9, 2020 · 3 comments
Closed
3 tasks done

Disable Adobe Flash By Default #3048

amaitland opened this issue Feb 9, 2020 · 3 comments

Comments

@amaitland
Copy link
Member

amaitland commented Feb 9, 2020

Chrome has disabled it, we should as well (remove the enable-system-flash command line arg from CefSettings).

https://www.chromium.org/flash-roadmap#TOC-Flash-Disabled-by-Default-Target:-Chrome-76---July-2019-

It can still be enabled for a limited time.

@spacevoyager78
Copy link

spacevoyager78 commented Feb 11, 2020

I have a created a winforms browser for the purpose of executing many flash files that are stored locally in my web server and I use:

settings.CefCommandLineArgs.Add("ppapi-flash-path", "pepflashplayer64_32_0_0_321.dll");
settings.CefCommandLineArgs.Add("ppapi-flash-version", "32.0.0.321");
settings.CefCommandLineArgs.Add("disable-plugins-discovery", "1");

Right now in v79, flash executes without explicit permission. I plan to keep the last cefsharp version that will execute flash files. Will this still work for the time being for v81?

@amaitland
Copy link
Member Author

All I can say is the command line args is going to be removed by default.

CEF is not actively supporting flash anymore so it could stop working any time. https://bitbucket.org/chromiumembedded/cef/issues/2768/allow-flash-to-play-without-user#comment-54073974

@amaitland
Copy link
Member Author

Anyone interested in the status of Flash support in Chromium should check https://www.chromium.org/flash-roadmap#TOC-Upcoming-Changes periodicly.

It is possible to enable the system wide flash using.
This will probably work for the next few releases though there are no gurantees.

// Specify Global Settings and Command Line Arguments
var settings = new CefSettings();

// For a limited time you can still enable flash
// Enable System Wide Flash Installation
settings.CefCommandLineArgs.Add("enable-system-flash");

Cef.Initialize(settings);

Previously this command line arg was set by default, it was removed in d127981

This is the only change from a CefSharp point of view.

If Flash stops working for whatever reason then you will have to revert to a previous version as CEF is no longer supporting Flash.

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

2 participants