9 Replies Latest reply: Jun 5, 2013 10:34 AM by mrwizzer2 RSS

    How to assign FlvPlayback source to f4v dynamically

    mrwizzer2 Community Member

      Odd quirk here...

       

      I'm using the FlvPlayback component to play multiple videos.  Some are flv files, some are f4v files, all residing in the same directory on my Flash Media Server.

       

      If I enter the URL to an f4v file in the "Source" field available in the properties panel when the component is selected on the stage, the f4v file plays fine, as do the flv files.

       

      However, if I try to set the source dynamically via actionscript using:

       

      flvPlayback.source = "rtmp://myFMS/myProject/myVideo.f4v";

       

      No go!  The video doesn't play.  However, using the above code to reference a flv works just fine.

       

      Does an f4v require different verbiage than an flv does?