THEOplayer > DateRangeCue
Inherits from TextTrackCue. See parent page for inherited properties and methods.
Represents a cue of a HLS date range metadata text track.
Signature:
export interface DateRangeCue extends TextTrackCue
Property |
Type |
Description |
---|---|---|
|
The class of the date range cue. |
|
|
The custom attributes of the date range cue. |
|
|
The duration of the date range cue, in seconds. |
|
|
The playback position at which the date range cue becomes inactive, as a Date. |
|
|
Whether end-on-next is enabled for the date range cue. |
|
|
The planned duration of the date range cue, in seconds. |
|
|
The SCTE 'cmd' splice_info_section of the date range cue. |
|
|
The SCTE 'in' splice_info_section of the date range cue. |
|
|
The SCTE 'out' splice_info_section of the date range cue. |
|
|
The playback position at which the date range cue becomes active, as a Date. |
The class of the date range cue.
Signature:
class: string | undefined;
- The class is a client-defined string specifying a set of attributes with associated value semantics.
The custom attributes of the date range cue.
Signature:
customAttributes: Record<string, string | number | ArrayBuffer>;
- The attribute name in the record does not include the 'X-' prefix present in the manifest.
The duration of the date range cue, in seconds.
Signature:
duration: number | undefined;
The playback position at which the date range cue becomes inactive, as a Date.
Signature:
endDate: Date | undefined;
Whether end-on-next is enabled for the date range cue.
Signature:
endOnNext: boolean;
- End-on-next results in the DateRangeCue.endDate of the date range cue becoming equal to the DateRangeCue.startDate of the next date range cue with the same DateRangeCue.class, once it is known.
The planned duration of the date range cue, in seconds.
Signature:
plannedDuration: number | undefined;
- This is used when the exact duration is not known yet.
The SCTE 'cmd' splice_info_section of the date range cue.
Signature:
scte35Cmd: ArrayBuffer | undefined;
The SCTE 'in' splice_info_section of the date range cue.
Signature:
scte35In: ArrayBuffer | undefined;
The SCTE 'out' splice_info_section of the date range cue.
Signature:
scte35Out: ArrayBuffer | undefined;
The playback position at which the date range cue becomes active, as a Date.
Signature:
startDate: Date;