loading mp4 in air for iOS not showing in ipad
dear frieds,
I want to load mp4 file in ios, its loading in desktop while testing, not loading in ipad. pls help me iam using following code:
var nc: NetConnection = new NetConnection();
nc.connect(null);
var ns: NetStream = new NetStream(nc);
ns.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
ns.play("video.mp4");
function asyncErrorHandler(event: AsyncErrorEvent): void {
trace(event);
// ignore error
}
var vid: Video = new Video();
vid.attachNetStream(ns);
vid.width = 640;
vid.height = 360;
addChild(vid);
Thanks and Regards,
Syed Abdul Rahim
