NW.js 不播放 vimeo 视频

NW.js not playing vimeo videos

我的 nw.js 应用程序包装了一个现有网站,我面临来自 vimeo 和 vine 等的视频问题。 Youtube 可以正常播放,但 vimeo 会抛出此错误 "This video can’t be played with your current setup.".

我在谷歌上搜索了很多,发现了两个潜在的交易破坏者: 1) chromium 中的硬件加速以破坏 vimeo 而闻名。 2) 由于许可问题,nw.js 未捆绑 Ffmpeg 和专有编解码器。

谁能确认 vimeo 是否正在处理您的 nw.js 版本?我不知道我是否有能力重建 ffmpeg,这会花费我很多时间,所以想在我开始之前验证它是否有效。

这是我的 package.js:

    {
  "name": "helloworld",
  "version": "0.0.1",
    "user-agent" : "Testapplication",
  "main": "https://my.externalpage.com",
  "chromium-args": "--disable-accelerated-video --disable-accelerated-video-decode --allow-outdated-plugins",
  "window": {
    "title": "test",
    "icon": "myicon.png",
    "toolbar": true,
    "frame": true,
    "width": 1920,
    "height": 1080,
    "position": "center",
    "min_width": 400,
    "min_height": 200
  },
  "webkit": {
    "plugin": true
  }
}

我设法找到了 ffmpeg-sumo 的预编译版本,它修复了所有视频播放器,所以这似乎是肯定的问题。谢谢,google!