Flex: Dynamically create a preview image for a video....

Posted by onekidney on Stack Overflow See other posts from Stack Overflow or by onekidney
Published on 2009-02-02T18:47:30Z Indexed on 2010/06/01 0:23 UTC
Read the original article Hit count: 633

I'm using the VideoDisplay to play flv's, mov's, and mp4's and everything is working great. They are all being loaded via progressive download and are not being streamed. What I'd like to do is to grab a single specified frame (like whatever is being shown at the 10 second mark), convert it to a bitmap and use that bitmap as the preview image for the video. I'd like to do this at runtime so I don't have to create a preview image for every video that would be shown.

Any idea's on how to do this? I'd rather not fake it by playing it - seeking for that specific frame and then pausing it but I may have no other choice?

© Stack Overflow or respective owner

Related posts about flex

Related posts about actionscript-3