Skip to content

havi11/extension-webm

 
 

Repository files navigation

WEBM:

Information about webm:

Setup/Installing:

You need Haxe and OpenFL. https://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();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 58.7%
  • Objective-C 10.0%
  • C++ 8.1%
  • Assembly 7.6%
  • HTML 6.1%
  • Shell 4.3%
  • Other 5.2%