【发布时间】:2016-08-20 05:47:37
【问题描述】:
我正在使用 Node-Webkit,它只是一个 hello world 程序。 这是我的代码
<!DOCTYPE html>
<html>
<head>
<title>Hello Node Webkit</title>
</head>
<body>
<h1>Hello Node Webkit</h1>
<video src="http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4" controls></video>
</p>
</body>
</html>
{
"name": "myapp.helloworldapp",
"version": "0.0.1",
"description": "A Hello Node webkit app",
"main": "index.html",
"webkit": {
"plugin": true
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"chromium-args": "--load-plugin=ffmpegsumo.dll",
"author": "richardmtp@gmail.com",
"license": "MIT"
}
我使用以下D:\...\nw\nw.exe D:\...\helloWorld\app.v1.nw 运行程序。
然后出现如下画面,请看附图
但没有播放,播放按钮也被禁用
- 我将 ffmpegsumo.dll 包含在 nw 根文件夹中
【问题讨论】:
标签: html html5-video node-webkit