Liking cljdoc? Tell your friends :D

web.dom.HTMLTrackElement

The HTMLTrackElement interface represents an HTML <track> element the DOM. This element can be used as a child of either <audio> <video> to specify a text track containing information such closed captions or subtitles.

The HTMLTrackElement interface represents an HTML `<track>` element
the DOM. This element can be used as a child of either `<audio>`
`<video>` to specify a text track containing information such
closed captions or subtitles.
raw docstring

defaultcljs

(default this)

Property.

A Boolean reflecting the default attribute, indicating that the is to be enabled if the user's preferences do not indicate that track would be more appropriate.

Property.

A Boolean reflecting the default attribute, indicating that the
is to be enabled if the user's preferences do not indicate that
track would be more appropriate.
sourceraw docstring

kindcljs

(kind this)

Property.

Is a DOMString that reflects the kind HTML attribute, indicating the text track is meant to be used. Possible values are: subtitles, descriptions, chapters, or metadata.

Property.

Is a DOMString that reflects the kind HTML attribute, indicating
the text track is meant to be used. Possible values are: subtitles,
descriptions, chapters, or metadata.
sourceraw docstring

labelcljs

(label this)

Property.

Is a DOMString that reflects the label HTML attribute, indicating user-readable title for the track.

Property.

Is a DOMString that reflects the label HTML attribute, indicating
user-readable title for the track.
sourceraw docstring

ready-statecljs

(ready-state this)

Property.

Returns an unsigned short that show the readiness state of the Constant Value Description NONE 0 Indicates that the text track's cues have not been obtained. LOADING 1 Indicates that the text track is loading and there have been fatal errors encountered so far. Further cues might still be to the track by the parser. LOADED 2 Indicates that the text track has been loaded with no fatal ERROR 3 Indicates that the text track was enabled, but when the user attempted to obtain it, this failed in some way. Some or all the cues are likely missing and will not be obtained.

Property.

Returns an unsigned short that show the readiness state of the
Constant
Value
Description
NONE
0
Indicates that the text track's cues have not been obtained.
LOADING
1
Indicates that the text track is loading and there have been
fatal errors encountered so far. Further cues might still be
to the track by the parser.
LOADED
2
Indicates that the text track has been loaded with no fatal
ERROR
3
Indicates that the text track was enabled, but when the user
attempted to obtain it, this failed in some way. Some or all
the cues are likely missing and will not be obtained.
sourceraw docstring

set-default!cljs

(set-default! this val)

Property.

A Boolean reflecting the default attribute, indicating that the is to be enabled if the user's preferences do not indicate that track would be more appropriate.

Property.

A Boolean reflecting the default attribute, indicating that the
is to be enabled if the user's preferences do not indicate that
track would be more appropriate.
sourceraw docstring

set-kind!cljs

(set-kind! this val)

Property.

Is a DOMString that reflects the kind HTML attribute, indicating the text track is meant to be used. Possible values are: subtitles, descriptions, chapters, or metadata.

Property.

Is a DOMString that reflects the kind HTML attribute, indicating
the text track is meant to be used. Possible values are: subtitles,
descriptions, chapters, or metadata.
sourceraw docstring

set-label!cljs

(set-label! this val)

Property.

Is a DOMString that reflects the label HTML attribute, indicating user-readable title for the track.

Property.

Is a DOMString that reflects the label HTML attribute, indicating
user-readable title for the track.
sourceraw docstring

set-ready-state!cljs

(set-ready-state! this val)

Property.

Returns an unsigned short that show the readiness state of the Constant Value Description NONE 0 Indicates that the text track's cues have not been obtained. LOADING 1 Indicates that the text track is loading and there have been fatal errors encountered so far. Further cues might still be to the track by the parser. LOADED 2 Indicates that the text track has been loaded with no fatal ERROR 3 Indicates that the text track was enabled, but when the user attempted to obtain it, this failed in some way. Some or all the cues are likely missing and will not be obtained.

Property.

Returns an unsigned short that show the readiness state of the
Constant
Value
Description
NONE
0
Indicates that the text track's cues have not been obtained.
LOADING
1
Indicates that the text track is loading and there have been
fatal errors encountered so far. Further cues might still be
to the track by the parser.
LOADED
2
Indicates that the text track has been loaded with no fatal
ERROR
3
Indicates that the text track was enabled, but when the user
attempted to obtain it, this failed in some way. Some or all
the cues are likely missing and will not be obtained.
sourceraw docstring

set-src!cljs

(set-src! this val)

Property.

The HTMLTrackElement.src property reflects the value of the <track> src attribute, which indicates the URL of the text track's data.

var textTrackURL = HTMLTrackElement.src;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src

Property.

The HTMLTrackElement.src property reflects the value of the `<track>`
src attribute, which indicates the URL of the text track's data.

`var textTrackURL = HTMLTrackElement.src;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src`
sourceraw docstring

set-srclang!cljs

(set-srclang! this val)

Property.

Is a DOMString that reflects the srclang HTML attribute, indicating language of the text track data.

Property.

Is a DOMString that reflects the srclang HTML attribute, indicating
language of the text track data.
sourceraw docstring

set-track!cljs

(set-track! this val)

Property.

Returns TextTrack is the track element's text track data.

Property.

Returns TextTrack is the track element's text track data.
sourceraw docstring

srccljs

(src this)

Property.

The HTMLTrackElement.src property reflects the value of the <track> src attribute, which indicates the URL of the text track's data.

var textTrackURL = HTMLTrackElement.src;

See also: https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src

Property.

The HTMLTrackElement.src property reflects the value of the `<track>`
src attribute, which indicates the URL of the text track's data.

`var textTrackURL = HTMLTrackElement.src;`

See also: `https://developer.mozilla.org/en-US/docs/Web/API/HTMLTrackElement/src`
sourceraw docstring

srclangcljs

(srclang this)

Property.

Is a DOMString that reflects the srclang HTML attribute, indicating language of the text track data.

Property.

Is a DOMString that reflects the srclang HTML attribute, indicating
language of the text track data.
sourceraw docstring

trackcljs

(track this)

Property.

Returns TextTrack is the track element's text track data.

Property.

Returns TextTrack is the track element's text track data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close