Hi there,
I have a new app to develop and I am facing an issue with IOS and video.
Here is my code :
_nc = new NetConnection();
_nc.connect(null);
_file = File.applicationDirectory.resolvePath("videos/video.mp4");
_ns = new NetStream(_nc);
_texture = Texture.fromNetStream(_ns, 1, onTextureReady);
_ns.addEventListener(NetStatusEvent.NET_STATUS, onNetStatus);
_ns.bufferTime = 5;
_ns.play(_file.url);
private function onTextureReady():void
{
addChild(new Image(_texture));
}
I have tried all I can imagine but no way...video is black.
It's working fine on Android and Desktop...
If I use the Feathers VideoPlayer, Ready event is never dispatched.
Do you know a workaround for this?
Thanks!