CEF加载flash
作者:
晓函 | 来源:发表于
2018-08-17 19:58 被阅读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");
}
本文标题:CEF加载flash
本文链接:https://www.haomeiwen.com/subject/hnwtiftx.html
网友评论