Skip to main content
August 25, 2020
Answered

Flash Player in own CefBrowser after 2020

  • August 25, 2020
  • 4 replies
  • 4525 views

Hello,

 

i have developed a C# Webbrowser with CefSharp (Chromium embedded Framework) i loade the Flash plugin so flash pages still do work. If i dont update my own developed webrowser, like for example stay at CefSharp 83.4.20 & Flash 32.0.0.414, is it still possible to use the webbrowser with its flash after 2020?

 

The thing is that Flash is a mandatory thing for my Webpage and Game. Its 100% nessecary and there is no other way for me around it. 

So i extra developed the Webbrowser in C# to still continue use Flash.

 

Plugin: pepflashplayer64_32_0_0_414.dll

CefSharp: 83.4.20

 

Please dont mark as spammed. or at least tell me what im doing wrong so its marked as spam

 

Thank you so much!

This topic has been closed for replies.
Correct answer jeromiec83223024

Edit: Sorry, I had a little brain cramp there.  😄

 

My guess is that your mms.cfg settings aren't being applied.  Chromium doesn't read from the standard system location.  You'll need to look at the chromium documentation for the appropriate location in Chromium's filesystem.  Also, if you're loading files locally, you need to have the appropriate directives set (e.g. AllowListURLPattern=file:///path/to/whatever), and maybe EnableInsecureLocalWithFilesystem=1 as well. 

 

I'm not sure that we can write logs from inside Chrome's sandbox either, but we're able to trace to the JavaScript console now, if you can watch it in the context of your running application.  Check out the TraceOutputEcho directive for more info there.

4 replies

New Participant
January 12, 2021

Hi,

did you manage to find a way with CefSharp/mms.cfg?

Thanks

August 25, 2020

i just found out about the "mms.cfg" so it says i can put "EnableWhitelist" than it should allow me to allow specifi sites. I put the mms.config in the same folder as my: "pepflashplayer64_32_0_0_414.dll" and i changed the mms.cfg content to:

 

SilentAutoUpdateEnable=1
AutoUpdateDisable=0
EOLUninstallDisable=0
EnableWhitelist=1
WhitelistUrlPattern=192.168.2.35

 

Now i changed my local PC time to 2021 and in my local apache webserver there is now a flash icon with a blue information icon in it. When i click on it it redirect me to https://www.adobe.com/products/flashplayer/end-of-life.html

 

So it seems to not work correctly.

Does someone have a idea what im doing wrong?

 

Thank you for your help!

jeromiec83223024
Community Manager
jeromiec83223024Community ManagerCorrect answer
Community Manager
August 26, 2020

Edit: Sorry, I had a little brain cramp there.  😄

 

My guess is that your mms.cfg settings aren't being applied.  Chromium doesn't read from the standard system location.  You'll need to look at the chromium documentation for the appropriate location in Chromium's filesystem.  Also, if you're loading files locally, you need to have the appropriate directives set (e.g. AllowListURLPattern=file:///path/to/whatever), and maybe EnableInsecureLocalWithFilesystem=1 as well. 

 

I'm not sure that we can write logs from inside Chrome's sandbox either, but we're able to trace to the JavaScript console now, if you can watch it in the context of your running application.  Check out the TraceOutputEcho directive for more info there.

_maria_
Community Manager
Community Manager
August 25, 2020

Embedding Flash Player in any application requires a Flash Player distribution license.  See https://www.adobe.com/products/flashplayer/distribution.html and click on the option that best describes your situation.

August 25, 2020

i dont belive i require a license for my personal own use. I wont distribute it.

 

Currently it does work perfectly like i want but i just want to know if i am able to use it after 2020 the same?

 

Thank you very much!

Legend
August 25, 2020

Ok, if you don't need to distribute it, you will still have to deal with it self-blocking at the end of the year. I read there is a whitelist of sites. I suggest you do tests changing the date to next year.

Legend
August 25, 2020

Is this for your personal use only? It will be forbidden to distribute Flash Player to anyone else! (It already needs a license, but there will be no license).

August 25, 2020

Yes. this is perfectly for myself.

 

Currently it does work perfectly like i want but i just want to know if i am able to use it after 2020 the same?

 

Thank you very much!