Hi Karina,

Thanks for the suggestions. I saw those different options and can't even get the video to show up (let alone play or pause). I just don't know what the right contentPath could be. This is my simplest test case, with input textfield filepath, movieclip go, FLVPlayback component flvplayer, and dynamic textfield msg:

go.onRelease = function() {
   flvplayer.play(filepath.text);
   msg.text = 'Trying to play ' + filepath.text + ' in ' + flvplayer;
}

No matter what I type into filepath, I can't get a video showing up in flvplayer. But I could get it to play in MediaPlayback with setMedia("rtmp:/LT/myfile.flv") (because the webserver and FCS are on the same machine, so no absolute path to fcs necessary). I think it must be some very simple thing, but I can't find the right contentPath to make it work.

Helen

Karina Steffens wrote:

Helen, have you set the FlvPlayback to autoPlay, or told it to play
manually? I'm looking at the docs and there seem to be a few ways to load the videos:

my_FLVPlybk.contentPath = "rtmp://my_servername/my_application/stream.flv";

my_FLVplybk.load(contentPath:String[, totalTime:Number, isLive:Boolean])

my_FLVplybk.play ([contentPath:String, totalTime:Number, isLive:Boolean])
Mind you, I haven't tried any yet...

Karina




-----Original Message-----
From: Helen Triolo [mailto:[EMAIL PROTECTED] Sent: 18 January 2007 15:46
To: Flashcoders Mailing List
Subject: [Flashcoders] Specifying contentPath for FLVPlayer

Realized this should have its own thread instead of hijacking natalia's:

I can't get the FLVPlayback component to display the streamed videos that are working fine with the MediaPlayback component. For the latter, I use

setMedia("rtmp:/LT/myfile.flv")

but there is no setMedia command for FLVPlayback, only contentPath, and setting it to the above doesn't work, nor did setting contentPath = "rtmp://<server address>/LT/myfile.flv" or "rtmp://<server address>/LT/stream/_definst_/myfile.flv" -- the video never shows up. Any suggestions?

Helen



_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to