直接上代码:

cefSettings.CefCommandLineArgs.Add("enable-npapi", "1");

            //cefSettings.CefCommandLineArgs.Add("enable-system-flash", "1");
//Flash
var flashFile = System.IO.Path.Combine(System.IO.Directory.GetCurrentDirectory(), "PepperFlash", "pepflashplayer.dll");
if (System.IO.File.Exists(flashFile))
{
cefSettings.CefCommandLineArgs.Add("ppapi-out-of-process","1");
//Load the pepper flash player that comes with Google Chrome - may be possible to load these values from the registry and query the dll for it's version info (Step 2 not strictly required it seems)
cefSettings.CefCommandLineArgs.Add("ppapi-flash-path", flashFile); //Load a specific pepper flash version (Step 1 of 2)
cefSettings.CefCommandLineArgs.Add("ppapi-flash-version", "99.0.0.999"); //Load a specific pepper flash version (Step 2 of 2)
}

  

最新文章

  1. C预定义宏
  2. MySQL——保证数据的完整性
  3. paip.快捷方式分组管理最佳实践ObjectDock
  4. 【Java 基础篇】【第十课】多态
  5. BZOJ 2115 Xor(抑或值最大路径)
  6. Delphi-idHttp-JSON用法
  7. 从MVC到前后端分离
  8. python摇骰子猜大小的小游戏
  9. bzoj 1193
  10. MIDle生命周期详解,以及工作原理
  11. SQL高级查询基础
  12. Python练手例子(6)
  13. Oracle 11g 单实例到单实例OGG同步实施文档-EXPDP初始化
  14. Docker 引擎(三)
  15. 彻底弄懂JS事件委托的概念和作用
  16. 解决 web.xml is missing and <failOnMissingWebXml> is set to true 报错
  17. 在sublime3中docblockr插件配置apidoc接口文档注释模板
  18. Java指定保留小数位数的方法
  19. RMAN概述及其体系结构
  20. AC日记——「SCOI2015」情报传递 LiBreOJ 2011

热门文章

  1. 谈谈OAuth1,OAuth2异同
  2. 串口通信编程向导 Serial Programming Guide for POSIX Operating Systems
  3. oracle删除表空间和用户
  4. Kubernetes网络之Flannel工作原理
  5. 使用Arduino开发板和ESP8266从互联网读取数据
  6. Android Binder机制彻底梳理一
  7. selenium+python自动化99-清空输入框clear()失效问题解决
  8. Python 爬虫js加密破解(三) 百度翻译 sign
  9. apscheduler 执行报错No handlers could be found for logger "apscheduler.executors.default
  10. python_并发编程——数据共享