How to enable Adobe Flash with CefSharp?

不问归期 提交于 2019-12-04 08:13:29

I resolved this issue with these steps:

1-)I downloaded the pepflashplayer plugin from this URL: https://www.dllfiles.com/pepflashplayer.dll.html

2-) I added these CefCommandLineArgs in the CefSettings: settings.CefCommandLineArgs.Add("enable-npapi", "1");

settings.CefCommandLineArgs.Add("ppapi-flash-path", flashPluginPath);

settings.CefCommandLineArgs.Add("ppapi-flash-version", "20.0.0.306");

flashPluginPath is the path where the pepflashplayer.dll is located and "20.0.0.306 is the version of the plugin. I am using cefsharp version 53

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!