  | |  | FLV file stops loading when you pause | FLV file stops loading when you pause 2005-11-02 - By Stevio
Back Actually I am not sure if what I said is right. The clip may still be loading even when I hit pause.
Are you able to share any code on how you did things?
Thanks, Stephen
-- -- Original Message -- -- From: "Joe Laffey" <joe@(protected)> To: "Mailing list for professional Flash designers and developers" <flashpro@(protected)> Sent: Wednesday, November 02, 2005 3:53 PM Subject: Re: [flashpro] FLV file stops loading when you pause
> On Wed, 2 Nov 2005, Stevio wrote: > >> Something I have noticed with playing videos through Flash 8 using a FLV >> file, is that if you start playing the video, but then pause it using the >> default controls they give you, then the video stops preloading. >> >> This is annoying because if you start playing a video file, and the video >> has not loaded enough yet and your connection is slow, you would perhaps >> pause it to allow it to load further, but instead it just stops >> preloading. >> >> Any suggestions? > > > Does this happen when you load the FLV manually using NetStream ? > > I am still using Flash Pro MX2004. But I have had very good luck making a > playback mechanism using NetStream. I mainly did this because other > players, like the MediaPlayer in Flash, or Quicktime itself, tend to start > playback WAY too soon when "streaming" (progressive download where it > starts to play before being downloaded all the way). This leads to hiccups > in the playback because the buffer gets emptied. So I built my own player > with a bigger buffer. I measure the bandwidth using a SetTimeout, average > it over the last few seconds, and then calculate the remaining time based > on the bytesLoaded and bytesTotal. > > Hope this is of some help...
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --- send message to the list: mailto:flashpro@(protected) [FlashPro] list info, subscribe, archive: http://flash-list.com/ There's also a WebPro mailing list: http://webdesign-list.com/ cutting-edge sounds for flash: http://flash-sounds.com/
Earn $52 per hosting referral at Lunarpages.
|
|
 |