Haxe NME / OpenFL extension for Media Playback
Vidéo playback only for now, and soon recording, display image...
Allow to play Videos on Android & iOS
Usage:
The usage is quite simple:
var v = HypVideo.getInstance( );
v.addEventListener( HypVideoEvent.PLAYBACK_COMPLETE , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_ERROR , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_INFO , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_PAUSE , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_PLAY , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_SEEK , _onHypVideo_event );
v.addEventListener( HypVideoEvent.PLAYBACK_STOP , _onHypVideo_event );
v.playRemote("VIDEOURL");
Made at Hyperfiction
Developed by Johann Martinache @shoe_box
This work is under BSD simplified License.