|
发表于 2019-12-10 14:23:41
|
显示全部楼层
辽宁省沈阳市
大佬我能问您个问题吗?
我把cef3内置入mfc已经成功了,打开chrome://version/之后显示的是
CEF 3.2623.1401.gb90a3be
Chromium 49.0.2623.110
OS Windows
WebKit 537.36
JavaScript 4.9.385.33
Flash 32.0.0.293
User Agent Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36
Command Line "E:\CEF_DEMON\Debug\CEF_DEMON.exe" --no-sandbox --lang=en-US --log-file="E:\CEF_DEMON\Debug\debug.log" --ppapi-out-of-process --ppapi-flash-version=32.0.0.293 --ppapi-flash-path=PepperFlash//pepflashplayer32_32_0_0_293.dll
Module Path E:\CEF_DEMON\Debug\libcef.dll
Cache Path
但是我打开目标网址想要播放视频就会提示Couldn't load plugin,大佬您知道这是怎么回事吗?
这是那段加载flash的实现代码
void CCefBrowserApp::OnBeforeCommandLineProcessing(const CefString & process_type, CefRefPtr<CefCommandLine> command_line)
{
command_line->AppendSwitch("ppapi-out-of-process");
command_line->AppendSwitchWithValue("ppapi-flash-version", "32.0.0.293");
command_line->AppendSwitchWithValue("ppapi-flash-path", "PepperFlash//pepflashplayer32_32_0_0_293.dll");
}
求大佬指点一下已经卡了两天了 |
|