PDA

View Full Version : Can you interrupt FLVPlayer seek commands?


Elz
07-02-2007, 06:07 PM
Hey hey! I've got an FLV playback component which is using a scrub bar that isn't a component skin or anything - it's just a movie using startDrag and sends an appropriate time to the component using onEnterFrame. Now I've done this before using the Video component, but here it seems to not work as well.

What's happening is that even after i stop dragging the scrub movie, the flvplayer will carry on seeking, like it's lagging behind the scrub bar. You see the frame occasionally change, often with a large delay in between. I've tried playing around with the frame rates of the movie but this doesn't seem to help, nor does the amount of FLV keyframes seem to make a difference. This effect in itself is not good because the video on screen now no longer represents the time indicated by the scrub bar. But what's even worse is that if I call play(), I have to wait until all that finishes before the video starts to play.

Any help or ideas would be really appreciated :)

edtsch
07-28-2008, 10:12 PM
Hmm, I landed here hoping to find an answer to the same question. My situation is very similar in that I'm not using the component skin and I'm sending seek() commands that the FLVPlayback component is slow to respond to. One workaround is to simply thin out those requests - send them fewer and further between - but I'd still like to know if a seek command can be superceded, rather than having them queue up like they seem to do.