2016-04-26 6 views
1

Ich benutze Node-Webkit, es ist nur ein Hallo Weltprogramm. Das ist mein CodeWie spiele ich Video mit Node-Webkit ab?

<!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": "[email protected]", 
    "license": "MIT" 
} 

ist und i Führen Sie das Programm D folgende Verwendung: ... \ nw \ nw.exe D: ... \ helloworld \ app.v1.nw

Dann wird die Bildschirm erscheinen wie folgt anbei Bild output-image

Aber nicht spielen & die Play-Taste auch

deaktiviert
  1. Und ich schließe ffmpegsumo.dll in New Root-Ordner

Bitte helfen Sie mir, die Probleme zu finden. Danke.

Antwort

Verwandte Themen