Join Date: Dec 2006
Posts: 2
 *2nd Video Doesn't Play!*
------------------------------
Hi. 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"); //I've also tried without the
.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.

Just to be clear, everything works fine if both videos come from http urls,
but if they come from rtmp urls, only the first video plays.
_______________________________________________
Flashcoders@chattyfig.figleaf.com
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