开发者

How can I seek to an exact point in a Flash video without a Flash Media Server?

开发者 https://www.devze.com 2023-01-13 00:06 出处:网络
Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in avideo?

Is the Flash Video (or Flex VideoDisplay) component capable of seeking to an exact moment in a video?

It seems to always 'snap' to keyframes (which is understandable). I'm just wondering if there are any mechanisms in the video classes for seeking to exact frames, ie it should do the translation from keyframe to specific frame in the background rather than having to actually play the video forward to the desired frame.

This is not a开发者_StackOverflow社区 streaming file and has nothing to do with buffering. The player is just downloading a movie file from the web and playing it from memory.

Thanks!


You need a streaming media server to jump to an exact moment in the video.

Otherwise you are stuck using progressive downloading, which will download every moment between the first one, and the moment you want to jump to.

You do not need to use Flash Media Server, though. Red5 is an open source alternative.

I do not know specifics on the code needed to jump to a specific point, though.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号