Skip to main content
Inspiring
January 4, 2007
Answered

Using FLVPlayback component w/ Flash Communication Server

  • January 4, 2007
  • 4 replies
  • 686 views
Hello,
I have connected to Flash Communication Server and I am able to load the flv files. However when I try to use the FLVPlaybackComponet, nothing happens it just stays on the preloader. I am using "rtmp://webaddress/moviefolder" in the Content Path field of the Component Inspector. I am interested in using the controls for video playback that are included in the FLVPlaybackComponet.

Can anyone point me in the right direction?
    This topic has been closed for replies.
    Correct answer desziner
    Imageus,
    I was able to get the video to display after:
    1) uploading the main.asc file from C:\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\Components\FLVPlayback\main.asc to the FCS.
    2) Reboot Server

    In the Component Inspector I used rtmp://webaddress/moviefolder/video.flv and the video displayed!

    There is a good tutorial located here: I used this tutorial: http://www.tomontheweb2.ca/FlashVideo/

    4 replies

    Participant
    January 10, 2007
    Desziner,

    Where did you save the .asc file? Did you save it in the same place where you .flv is? I saved it there and still it is not playing the flv. I am using FMS 2.

    Thanks for you tips.

    deszinerAuthor
    Inspiring
    January 11, 2007
    Imageus,
    The main.asc file goes in the application directory on your server. Using this for an example:
    rtmp://webaddress/moviefolder/video.flv

    The main.asc file would go in the "moviefolder" directory.

    Hope that helps.
    Participant
    January 10, 2007
    Hi MotionMaker,

    I have tried what you have suggested but still getting the same error message that dexziner got. Do you have any more hints what could be the problem?

    Thanks
    deszinerAuthorCorrect answer
    Inspiring
    January 10, 2007
    Imageus,
    I was able to get the video to display after:
    1) uploading the main.asc file from C:\Program Files\Macromedia\Flash 8\Samples and Tutorials\Samples\Components\FLVPlayback\main.asc to the FCS.
    2) Reboot Server

    In the Component Inspector I used rtmp://webaddress/moviefolder/video.flv and the video displayed!

    There is a good tutorial located here: I used this tutorial: http://www.tomontheweb2.ca/FlashVideo/
    Participating Frequently
    January 9, 2007
    You do not include the .flv for FMS as what is returned is not the file but a video stream.

    So rtmp://webaddress/moviefolder/video is what you would use for video.flv.
    Participating Frequently
    January 5, 2007
    If I am interpreting you question correctly, I'm guessing your problem may be the fact that you're not specifying the actual flv to play.

    For example:

    Using the Video Object the path could be:
    rtmp://webaddress/moviefolder/
    This will look in the _definst_ folder and play what is available.

    However, using the FLVPlayback Component the path to the video needs to be spelled out completely:
    rtmp://webaddress/moviefolder/video.flv

    Try this and see what happens. Hope it helps!

    -Bill N.
    deszinerAuthor
    Inspiring
    January 9, 2007
    Thanks for your reply Bill,

    I have tried using the FLVPlayback Component with the path "rtmp://webaddress/moviefolder/video.flv", and when I press ok after entering the path, I get the message "Failed to load FLV:rtmp://webaddress/moviefolder/video.flv".

    I have also looked into using smil files to specify the location and that was not successful. I know the path is correct, because I did get the video to display off FCS with a video window.

    Any ideas?

    Thanks