openfl-webm 0.0.4

OPENFL haxe extensions for decoding webm videos (mkv+vp8+vorbis).

Released 2013-09-03.

To install, run:

haxelib install openfl-webm 0.0.4

See using Haxelib in Haxelib documentation for more information.

Maintainersoywiz
Websitehttps://github.com/soywiz/haxe-openfl-webm
Current version0.0.4
StatisticsInstalled 215 times
LicenseMIT
Tags cpp, formats, mkv, neko, openfl, video, vorbis, vp8, webm

README.md

WEBM:

Information about webm: * http://www.webmproject.org/

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();