Skip to main content
epicfall
Participating Frequently
January 17, 2011
Answered

How to play recorded videos using FLVPlayback component?

  • January 17, 2011
  • 1 reply
  • 1189 views

Hey Guys,

     I recorded videos using fms and i want to play them using FLVPlayback component. I've done some research but i cant find something

useful, I tried this code :

     flvplayback.source = "rtmp://localhost/appname/instancename/video";

     this code is not working. Am i doing it wrong or something? Can anyone please point me on the right direction!

    Thanks in advance!

Randy

    This topic has been closed for replies.
    Correct answer Shiraz Anwar

    Hey zarihs Rawna,

    Thanks men, how can i set the content path of the flvplayback through actionscript? Or is it even possible to do it with actionscript?

    Thanks!


    you may probably like to use a something like an editable text box in your swf file, where whatever path is inputted could be played by the FLVPlayback component in swf file.

    1 reply

    Participating Frequently
    January 17, 2011

    You may like to use this tutorial for your purpose:

    http://en.wikibooks.org/wiki/Beginner's_Guide_to_Adobe_Flash/Video/Using_The_FLVPlayback_Component

    Here, in the content path you need to put your URL, also make sure that the instance name exist and provide the FLV extension in the url.

    Hope that will help you.

    epicfall
    epicfallAuthor
    Participating Frequently
    January 17, 2011

    Hey, thanks for the reply...Will try this one...Is there a way make the content path to be dynamic?

    Thanks!

    Participating Frequently
    January 17, 2011

    I think you can create a XML file, parse it to get dynamic URLs in your client-side flash application  .... this XML in turn need to be dynamically updated whenver you upload a file to the server (you may try some php scripting there) ....