NME haxe extensions for decoding webm videos (mkv+vp8+vorbis).
C PHP Assembly Shell C++ Perl Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

WEBM:

Information about webm:

Setup/Installing:

You need HAXE and OPENFL. http://openfl.org/

haxelib install openfl-webm

Simple Example:

var sprite:Sprite = new Sprite();
sprite.scaleX = 2;
sprite.scaleY = 2;
addChild(sprite);

var io:WebmIo = new WebmIoFile("c:/projects/test.webm");
var player:WebmPlayer = new WebmPlayer(io, sprite);
player.addEventListener('play', function(e) {
	trace('play!');
});
player.addEventListener('end', function(e) {
	trace('end!');
});
player.addEventListener('stop', function(e) {
	trace('stop!');
});
player.play();