Skip to main content
epicfall
Participating Frequently
Jan 17, 2011 7:45 AM UTC
Answered

How to play recorded videos using FLVPlayback component?

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 is closed to new replies. Start a new post to keep the conversation going.
    Shiraz AnwarCorrect answer
    Participating Frequently
    Jan 17, 2011 2:45 PM UTC

    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.

    5 replies

    Participating Frequently
    Jan 17, 2011 8:21 AM UTC

    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.

    Translate
    epicfall
    epicfallAuthor
    Participating Frequently
    Jan 17, 2011 10:45 AM UTC

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

    Thanks!

    Translate
    Participating Frequently
    Jan 17, 2011 12:12 PM UTC

    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) ....

    Translate