Video-ANE is a native extension to play videos on top of everything. Usually when a developer needs to play a video within an application, there are some problems or limitations that need to be addressed. Displaying video in an AIR mobile project, for instance, using Starling is complicatedÂ because theÂ Flash display list Video object is not efficient. The
StageVideo class, which is the natural solution to overcome the efficiency problem, does not support third-party content placed on top of it, such as a Starling instance. There is also theÂ limitation ofÂ a singleÂ video playing at any time.
VideoTexture class, which should solve all those problems, isÂ still not available on mobile. The goal of this ANE is to display a video on top of everything, helping developers to overcome all mentioned problems. The ANE can be seen as aÂ reverseÂ
var _video:NativeVideo; var _bounds:Rectangle = new Rectangle(0, 0, 480 / 2, 214); _video = new NativeVideo(stage); _video.addVideo("videos/trailer", "mov", _bounds.x, _bounds.y, _bounds.width, _bounds.height); _video.addVideo("videos/sample_iPod", "m4v", _bounds.x, 150, _bounds.width, _bounds.height);
RT @as3gamegears: New: Video-ANE (native extension to play videos on top of everything) http://t.co/ixyIKhtKzA #as3 #flash #gamedev
Vicente Fleitas liked this on Facebook.