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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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