PDA

View Full Version : flvPlayback not playing second rtmp video


mgeduld
12-26-2006, 04:55 AM
I'm trying to play two videos in the flvplayback component. The first one is playing; the second isn't. Both paths are rtmp paths. I've read on various message boards that you should remove the .flv extension from the second path, but that doesn't help.

In my move, the component is called flvPlayer. There's a button called btn. What's wrong with this code?

//these first two lines work fine.
flvPlayer.load("rtmp://path/to/media1.flv");
flvPlayer.play();

btn.onRelease = function():Void
{
//this doesn't work
flvPlayer.load("rtmp://path/to/media2.flv");
flvPlayer.play();
}

When I click the button, the first flv does stop playing, the skin on the flvplayback component shows those little barber-pole stripes as if it's loading a second flv, and then the loading animation stops. And that's it. No video plays.

distantdog
02-21-2007, 07:03 PM
Having a similar problem with my XML FLV video gallery.

The first RTMP streaming video loads up and plays fine, but as soon as I select another streaming video from the list created from my XML file, it breaks. The video disappears. Also, once having selected a streaming FLV from the list, it will no longer play local FLV's.

If i click a local FLV it plays just fine.

Is there a parameter for FLVPlayback that resets it or something? What am I not doing?

Again, I have no problems at all if all the videos on the list are local.

exactpixel
02-21-2007, 07:21 PM
Have you tried resetting the net connection before playing the next video?

distantdog
02-21-2007, 07:36 PM
Have you tried resetting the net connection before playing the next video?

How do I do that?

I am using FLVPlayback component. I have now read about a bug with it that doesn't allow the second streaming movie to play... I have done the fixes it recommends and still no luck.

Basically it will load the first RTMP streaming video, and I can choose local FLVs to play, but as soon as I try to select a streaming FLV from my list, it breaks.