Search code examples
flashactionscript-3actionscriptnetstream

netstream play in the middle of a video


I'm using the netstream and video object to play a video in flash. Specifically a mp4 video.

What I'm trying to do is start playing the file from a specific position (Ex. 20seconds).

However with netstreamObject.seek(20) doesn't work unless the stream has been loaded past 20seconds. Is there a way to specify starting to load at 20s? Or any other way of accomplishing this?


Solution

  • You can use some sort of CDN cache server (so the actual file will be served via this cache server) which support lighttpd, then you can seek ahead in the video.