如何在NWJS上启用闪存?我现在的package.json
{
"main": "index.html",
"name": "NAME",
"description": "NAME.",
"version": "0.1.0",
"chromium-args": "--ppapi-flash-path=plugins/pepflashplayer.dll --ppapi-flash-version=20.0.0.306",
"webkit": {
"plugin": true
}
}而且我在APP/plugins/Pepflflplayer.dll中有库,但是它不起作用。
发布于 2016-08-02 07:34:06
对未来用户:http://docs.nwjs.io/en/latest/For%20Users/Advanced/Use%20Flash%20Plugin/#using-flash-plugin
注意:我不认为你需要铬-args来做这件事,但是无论如何你可以通过这样做来检查你的插件:
window.location="chrome://plugins"您可以通过以下操作检查nwjs版本中是否可用此标志:
window.location="chrome://flags"https://stackoverflow.com/questions/35962047
复制相似问题