Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.04 KB

README.md

File metadata and controls

34 lines (26 loc) · 1.04 KB

HypMedias

Haxe NME / OpenFL extension for Media Playback

Vidéo playback only for now, and soon recording, display image...

HypVideo:

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

License

This work is under BSD simplified License.