How to playback a video recorded inside of an AIR for iOS app (using native recorder)
this simple question. looking yes or no answer here.
can payback video recorded on air ios app?
no problems functionality on android, apparently there no information on how playback video know exact path on ios. stunned @ lack of information here.
*not interested in browsing video...although understand cameraroll browsing not supported anyway.
**i have exact path video, provided mediacompletehandler, shown below.
private function mediacompletehandler(e:mediaevent):void
{
//this how know relative path recorded file (.mov)
_recordedfile = e.data.file;
}
the path file not question. sucessfully getting handle on file story.
example path:
"/private/var/mobile/applications/70518860-fb6d-4e99-af4e-d2010c5b384c/tmp/capture/capture dvideo.mov"
have tried using various combinations of file.documentsdirectory, file.applicationdirectory, file.applicationstoragedirectory, , file.userdirectory wrap string meaningful file reference
nothing seems work. error =
"the requested url not found on server."
any appreciated.
so recording use native extension trying play using air?
air can playback vp6 format flv. mov need use native player in order playback .mov file there 2 areas for: stagewebview simple have no programmatic control over, or write native extension , use uiwebview complicated. if search forums uiwebview you'll find guy wrote ane native player around $100 think ane's version specific these days.
also if go stagewebview have send hackish string load local file. listed out in forum post i'd search stagewebview , see can find.
one of main reasons don't see other formats supported at&t didn't want large movie files downloaded support streaming video formats , flv's not allowed played longer 5 minutes on carrier connection. it's why apple came out multi bitrate hls mobile friendly h.264 encoded streaming video format. although apple cut bs , support hds dont' gotta deal multiple http streaming protocols.
the reason don't see support video 2 reasons. 1.) when start talking video start talking streaming , that's can take years head around live unless working company that's leading in or have few million dollars in funding pay people figure out. 2.) players in industry know doing keeping tight lipped because it's highly f'in profitable industry , want keep way.
even though quality lower i'd recommend using air record playback.
More discussions in AIR Development
adobe
Comments
Post a Comment