How to playback a video recorded inside of an AIR for iOS app (using native recorder)
This is a very simple question. Really looking for a yes or no answer here.
Can you payback a video previously recorded on an Air for iOS app?
No problems with this functionality on Android, but apparently there is no information on how to simply playback a video that you know the exact path to on iOS. I am stunned at the lack of information here.
*Not interested in browsing to the Video...although I understand the CameraRoll browsing is not supported anyway.
**I have the exact path the video, as provided by the mediaCompleteHandler, shown below.
private function mediaCompleteHandler(e:MediaEvent):void
{
//this is how we know the relative path to the recorded file (.MOV)
_recordedFile = e.data.file;
}
The path to this file is not a question. Sucessfully getting a handle on that file is another story.
example path:
"/private/var/mobile/Applications/70518860-FB6D-4E99-AF4E-D2010C5B384C/tmp/capture/capturedvideo.MOV"
Have tried using various combinations of File.documentsDirectory, File.ApplicationDirectory, File.ApplicationStorageDirectory, and File.userDirectory to wrap this string into a meaningful File Reference
Nothing seems to work. Error =
"The requested URL was not found on this server."
Any help would be greatly appreciated.
