CEF加载flash
2018-08-17 本文已影响88人
晓函
void CCefClientApp::OnBeforeCommandLineProcessing(const CefString & process_type, CefRefPtr<CefCommandLine> command_line)
{
//加载自定义flash插件
command_line->AppendSwitchWithValue("--ppapi-flash-path", "ppflash/28_0_0_137/pepflashplayer.dll");
command_line->AppendSwitchWithValue("--ppapi-flash-version", "28.0.0.137");
//加载系统flash
//command_line->AppendSwitchWithValue("enable-system-flash", "true");
}