These five elements set where a clip starts, where it stops and how long it plays.
None of them has children. All use the
time format hh:mm:ss.fract
or a marker in the media file’s index.
DURATION
How long to render a clip. Parents: ENTRY, REF.
| Attribute | Required | Value | Meaning |
|---|---|---|---|
VALUE | yes | hh:mm:ss.fract | The length to play. Default: the entire clip. An image or looping Flash file must have one. |
If the value is longer than the stream, the stream ends at its normal end. A
DURATION in a REF overrides one in the parent
ENTRY, and DURATION overrides
PREVIEWDURATION.
PREVIEWDURATION
How long a clip plays in preview mode. Parents: ASX,
ENTRY, REF.
| Attribute | Required | Value | Meaning |
|---|---|---|---|
VALUE | yes | hh:mm:ss.fract | The preview length. Default when no element applies: 10 seconds. |
A value in REF beats one in ENTRY, and either beats one in
ASX, which covers every clip. The preview starts at the
STARTTIME or STARTMARKER if there is one, and otherwise at
the beginning of the clip. A clip shorter than the preview stops normally.
STARTTIME
A time index to start from. Works only with stored, on-demand content that has been
indexed. Parents: ENTRY, REF.
| Attribute | Required | Value | Meaning |
|---|---|---|---|
VALUE | yes | hh:mm:ss.fract | Where to begin playing. |
STARTMARKER
A marker to start from. Parents: ENTRY, REF. Use either
attribute, not both.
| Attribute | Value | Meaning |
|---|---|---|
NUMBER | a number | A numeric marker in the index. Default: the beginning of on-demand content, or the current position of a live stream. |
NAME | text | A named marker in the index. Same default. |
One in a REF beats one in the parent ENTRY, and
STARTMARKER beats STARTTIME. If it falls later than the
ENDMARKER, nothing plays and no error is given.
ENDMARKER
A marker to stop at. Parents: ENTRY, REF. Use either
attribute, not both.
| Attribute | Value | Meaning |
|---|---|---|
NUMBER | a number | A numeric marker in the index. Default: the end of the content. |
NAME | text | A named marker in the index. Same default. |
In preview mode, reaching an end marker stops the preview early. One in a
REF beats one in the parent ENTRY, and
ENDMARKER beats DURATION.