3 Replies Latest reply on Nov 2, 2009 12:16 AM by rfrishbe

    How do i use <s:VideoPlayer> to play url not ended with .flv

    The Bruder

      Hi All,

       

      i'm using the video player and trying to play flv's from urls that is not ended with .flv extension (because it is server generated).

      For exampl (real flv):

       

      http://212.179.148.113:8080/ApplicationGW/getFile?fileId=1026&msisdn=972523658800&action=o pen

       

      when is enter it as source to the videoPlayer i get the error:

       

      VideoError: 1005: Invalid xml: URL: "http://212.179.148.113:8080/ApplicationGW/getFile?fileId=1026&msisdn=972523658800&action=o pen&yyy=.flv&FLVPlaybackVersion=2.5" No root node found; if url is for an flv it must have .flv extension and take no parameters
          at fl.video::SMILManager/http://www.adobe.com/2007/flash/flvplayback/internal::xmlLoadEventHandler()[E:\dev\trunk\f rameworks\projects\spark\src\fl\video\SMILManager.as:257]
          at flash.events::EventDispatcher/dispatchEventFunction()
          at flash.events::EventDispatcher/dispatchEvent()
          at flash.net::URLLoader/onComplete()

       

      Is there a way to bypass this issue?

       

      Thanks in advance,

      Lior