Liking cljdoc? Tell your friends :D

web.video.VideoTrack

The web.video.VideoTrack interface represents a single video from a <video> element.

The `web.video.VideoTrack` interface represents a single video
from a `<video>` element.
raw docstring

idcljs

(id this)

Property.

[Read Only]

The id property contains a string which uniquely identifies the represented by the web.video.VideoTrack.

var trackID = VideoTrack.id;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/id

Property.

[Read Only]

The id property contains a string which uniquely identifies the
represented by the `web.video.VideoTrack`.

`var trackID = VideoTrack.id;`

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

kindcljs

(kind this)

Property.

[Read Only]

The kind property contains a string indicating the category of contained in the web.video.VideoTrack.

var trackKind = VideoTrack.kind;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/kind

Property.

[Read Only]

The kind property contains a string indicating the category of
contained in the `web.video.VideoTrack`.

`var trackKind = VideoTrack.kind;`

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

labelcljs

(label this)

Property.

[Read Only]

The read-only web.video.VideoTrack property label returns a specifying the video track's human-readable label, if one is otherwise, it returns an empty string.

var videoTrackLabel = VideoTrack.label;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/label

Property.

[Read Only]

The read-only `web.video.VideoTrack` property label returns a
specifying the video track's human-readable label, if one is
otherwise, it returns an empty string.

`var videoTrackLabel = VideoTrack.label;`

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

languagecljs

(language this)

Property.

[Read Only]

The read-only web.video.VideoTrack property language returns string identifying the language used in the video track.

var videoTrackLanguage = VideoTrack.language;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/language

Property.

[Read Only]

The read-only `web.video.VideoTrack` property language returns
string identifying the language used in the video track.

`var videoTrackLanguage = VideoTrack.language;`

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

selectedcljs

(selected this)

Property.

The web.video.VideoTrack property selected controls whether not a particular video track is active.

`isVideoSelected = VideoTrack.selected;

VideoTrack.selected = true | false;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected

Property.

The `web.video.VideoTrack` property selected controls whether
not a particular video track is active.

`isVideoSelected = VideoTrack.selected;

VideoTrack.selected = true | false;`

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

set-selected!cljs

(set-selected! this val)

Property.

The web.video.VideoTrack property selected controls whether not a particular video track is active.

`isVideoSelected = VideoTrack.selected;

VideoTrack.selected = true | false;`

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/selected

Property.

The `web.video.VideoTrack` property selected controls whether
not a particular video track is active.

`isVideoSelected = VideoTrack.selected;

VideoTrack.selected = true | false;`

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

source-buffercljs

(source-buffer this)

Property.

[Read Only]

The read-only web.video.VideoTrack property sourceBuffer returns web.audio.SourceBuffer that created the track, or null if the was not created by a web.audio.SourceBuffer or the web.audio.SourceBuffer been removed from the MediaSource.sourceBuffers attribute of parent media source.

var sourceBuffer = VideoTrack.sourceBuffer;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrack/sourceBuffer

Property.

[Read Only]

The read-only `web.video.VideoTrack` property sourceBuffer returns
`web.audio.SourceBuffer` that created the track, or null if the
was not created by a `web.audio.SourceBuffer` or the `web.audio.SourceBuffer`
been removed from the `MediaSource.sourceBuffers` attribute of
parent media source.

`var sourceBuffer = VideoTrack.sourceBuffer;`

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

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

× close