如何让DcefBrowser支持Flash
需要用到pepperflash插件
由于git上不能上传这类文件,就未添加到TDcefBrowser里
1 2 3 4 5 6 |
if not CefLoadLibDefault then Exit; CefAddWebPluginPath(ExtractFilePath(Paramstr(0)) + 'PepperFlashpepflashplayer.dll'); CefRefreshWebPlugins(); |
下载 “PepperFlash” PepperFlash.7z – 已下载148次 – 6 MB
去打赏