TimedTrackCue
Return to: HTML DOM Level 5 index

Represents a cue for timed tracks.

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
TimedTrackCue Constructor() : TimedTrackCue
Creates an instance of the TimedTrackCue.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no

TimedTrackCue() : TimedTrackCue

Creates an instance of the TimedTrackCue.

Returns
TimedTrackCue

Visibility
internal

Properties

Property Action Mozilla Chrome Safari Opera IE Netscape
track : TimedTrack
Returns the TimedTrack object to which this timed track cue belongs, if any, or null otherwise.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

id : String
Returns the timed track cue identifier.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

startTime : Number
Returns the timed track cue start time, in seconds.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

endTime : Number
Returns the timed track cue end time, in seconds.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

pauseOnExit : Boolean
Returns true if the timed track cue pause-on-exit flag is set, false otherwise.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

direction : String
Returns a string representing the timed track cue writing direction.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

snapToLines : Boolean
Returns true if the timed track cue snap-to-lines flag is set, false otherwise.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

linePosition : Number
Returns the timed track cue line position. In the case of the value being auto, the appropriate default is returned.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

textPosition : Number
Returns the timed track cue text position.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

size : Number
Returns the timed track cue size.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

alignment : String
Returns a string representing the timed track cue alignment.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

voice : String
Returns the timed track cue voice identifier.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

onenter : Function
Specifies the event handler for the onenter event.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

onexit : Function
Specifies the event handler for the onexit event.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no
Availability

WhatWG

Functions

Method Action Mozilla Chrome Safari Opera IE Netscape
getCueAsSource() : String
Returns the timed track cue text in raw unparsed form.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no

Returns
String

Availability

WhatWG

getCueAsHTML() : DocumentFragment
Returns the timed track cue text as a DocumentFragment of HTML elements and other DOM nodes.
Show Details 3.5+ no 4.0.5+ 10.5+ 9.0+ no

Returns
DocumentFragment

Availability

WhatWG

References

TimedTrackCue

Availability

JavaScript 1.2|WhatWG

text_javascript aptana_docs