I'm using the VideoDisplay component so it works a little differently.
 If the video is paused calling pause again does nothing, you have to
call play to restart the video.  Maybe I'll try switching over the NS
and NC and see if it works that way, unless someone has a solution
with the VideoDisplay.

Thanks,

John

--- In [email protected], Thijs Triemstra <[EMAIL PROTECTED]> wrote:
>
> I guess you start and pause the flv so it can preload? You should  
> unpause the video instead of using play again because otherwise the  
> buffered netstream is replaced with a new one like you described.
> 
> stream = new NetStream(nc);
> // start preloading
> stream.play("flvname");
> // pause the stream so it can continue preloading without playback
> stream.pause(true);
> // when you press play it unpauses and starts playing the buffered  
> stream
> stream.pause(false);
> 
> 
> Thijs
> 
> 
> Op 2-jan-2007, om 22:49 heeft john_69_11 het volgende geschreven:
> 
> > Hi, I'm trying to put together an flv player with a progress bar and
> > videodisplay object. I am using the progress event and when the
> > player first loads the progress shows fine, but when i hit the play
> > button (calling videoDisplay.play()) it throws away the buffer and
> > starts over. This only happens the first time I hit play. any ideas?
> >
> > Thanks,
> >
> > John
> >
> >
> >
>


Reply via email to