Represents a timed track object.
Platform Support
| Mozilla | Chrome | Safari | Opera | IE | Netscape | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|---|
Constructors
| Constructor | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape | ||
|---|---|---|---|---|---|---|---|---|---|
|
TimedTrack Constructor() : TimedTrack
Creates an instance of the TimedTrack.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no | ||
TimedTrack() : TimedTrackCreates an instance of the TimedTrack. Returns
|
|||||||||
Properties
| Property | Action | Mozilla | Chrome | Safari | Opera | IE | Netscape |
|---|---|---|---|---|---|---|---|
|
kind
: String
Returns the timed track kind of the timed track that the TimedTrack object represents.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
label
: String
Returns the timed track label of the timed track that the TimedTrack object represents.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
language
: String
Returns the timed track language of the timed track that the TimedTrack object represents.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
NONE
: Number
The timed track not loaded state. (numeric value 0)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
LOADING
: Number
The time track loading state. (numeric value 1)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
LOADED
: Number
The timed track loaded state. (numeric value 2)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
ERROR
: Number
The timed track failed to load state. (numeric value 3)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
readyState
: Number
Returns the numeric value corresponding to the timed track readiness state of the timed track that the TimedTrack object represents
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
onload
: Function
Specifies the event handler for the onload event.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
onerror
: Function
Specifies the event handler for the onerror event.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
OFF
: Number
The timed track disabled mode. (numeric value 0)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
HIDDEN
: Number
The timed track hidden mode. (numeric value 1)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
SHOWING
: Number
The timed track showing mode. (numeric value 2)
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
mode
: Number
Returns the numeric value corresponding to the timed track mode of the timed track that the TimedTrack object represents.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
cues
: TimedTrackList
Returns a live TimedTrackCueList object that represents the subset of the timed track list of cues of the timed track that
the TimedTrack object represents whose start times occur before the earliest possible position when the script started, in
timed track cue order.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
activeCues
: TimedTrackList
Returns a live TimedTrackCueList object that represents the subset of the timed track list of cues of the timed track that
the TimedTrack object represents whose start times occur before the current playback position when the script started and
whose end times occur after the current playback position when the script started, in timed track cue order.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
|
oncueschange
: Function
Specifies the event handler for the oncueschange event.
|
Show Details | 3.5+ | no | 4.0.5+ | 10.5+ | 9.0+ | no |
|
|||||||
References
Availability
JavaScript 1.2|WhatWG