Hello,
I have created a custom video player using the FLVPlayback component in Flash CS6 and published it as an swc file. Using the custom video player in Flash works fine, as it will load and play mp4 videos. In my AIR desktop applocation, when I use the custom video player, it will play flv & f4v files fine, but it will not play mp4 videos. When I debugg it in Flash Builder and try to play an mp4 video, I get this error:
VideoError: 1000: Unable to make connection to server or to find FLV on server
at fl.video::VideoPlayer/play()
at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::showFirstStream()
at fl.video::FLVPlayback/http://www.adobe.com/2007/flash/flvplayback/internal::handleVideoEvent()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at fl.video::VideoPlayer/http://www.adobe.com/2007/flash/flvplayback/internal::setState()
at fl.video::VideoPlayer/ncConnected()
at fl.video::NCManager/helperDone()
at fl.video::SMILManager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
I have double checked my video file paths and everything, and they are correct. So what else could be causing this?
thanks