I'm trying to play an embedded .mp4 on an ios device using OSMF.
when trying to play a .flv file, everything works fine, while trying to play a .mp4, simply doesnt work (though loading a .mp4 from an http works fine).
var filepath:String = "file://"+File.applicationDirectory.nativePath + "/Adventure_Town_assets_CloudsMovie.mp4";
var container:MediaContainer = new MediaContainer();
addChild( container );
var resource:URLResource = new URLResource(filepath);
var videoElement:VideoElement = new VideoElement( resource );
container.addMediaElement( videoElement );
var mediaPlayer:MediaPlayer = new MediaPlayer();
mediaPlayer.media = videoElement;
help would be much appriciated
Retrieving data ...