Ticket #369 (closed feature: fixed)
constrain time from 'start' to 'start + duration'
| Reported by: | jeroen | Owned by: | jeroen |
|---|---|---|---|
| Priority: | Milestone: | Flash 4.4 | |
| Component: | Keywords: | ||
| Cc: | Forum thread: |
Description (last modified by jeroen) (diff)
Change History
comment:3 Changed 4 years ago by jeroen
- Summary changed from make the controlbar scrubber only run from 'start' to 'start + duration' to constrain time from 'start' to 'start + duration'
comment:4 Changed 4 years ago by jeroen
- Status changed from new to closed
- Resolution set to fixed
- Description modified (diff)
Restricting the start and duration works for all models, except the YoutubeModel.
Here's an overview per model:
- ImageModel: although it's not really useful since images are static).
- HTTPModel: the file is first loaded from the beginning, until metadata is received. Then, a seek() to the startposition is done.
- RTMPModel: the second parameter of the NetStream.play() command is a start position. This is used, so there's no wait for metadata and a dual request (as needed with HTTP).
- SoundModel: surprisingly, Flash sends buffermessages until the chosen startpoint is loaded. Very cool.
- VideoModel: unfortunately, the video starts playing back from the beginning. The controlbar stays at 0 though.
- YoutubeModel: not implemented.
Note: See
TracTickets for help on using
tickets.

This is a more advanced implementation of the start + offset functionality, creating really useful chapter playlists. A couple of requirements on the server are needed:
mod_h264_streaming and rtmp both offer these functionalities.