如何在 NWJS 上启用 flash?

How to enable flash on NWJS?

如何在NWJS上启用flash?我目前的 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/pepflashplayer.dll 中有库,但它不起作用。

对于未来的用户:http://docs.nwjs.io/en/latest/For%20Users/Advanced/Use%20Flash%20Plugin/#using-flash-plugin

注意:我认为您不需要 chromium-args 来执行此操作,但无论如何您可以通过以下方式检查您的插件:

window.location="chrome://plugins"

你可以检查这个标志是否在你的 nwjs 版本中可用:

window.location="chrome://flags"