Liking cljdoc? Tell your friends :D

web.video.VideoTrackList

The VideoTrackList interface is used to represent a list of the tracks contained within a <video> element, with each track by a separate web.video.VideoTrack object in the list.

The VideoTrackList interface is used to represent a list of the
tracks contained within a `<video>` element, with each track
by a separate `web.video.VideoTrack` object in the list.
raw docstring

get-track-by-idcljs

(get-track-by-id this id)

Method.

The web.video.VideoTrackList method getTrackById() returns first web.video.VideoTrack object from the track list whose matches the specified string.

var theTrack = VideoTrackList.getTrackById(id);

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/getTrackById

Method.

The `web.video.VideoTrackList` method getTrackById() returns
first `web.video.VideoTrack` object from the track list whose
matches the specified string.

`var theTrack = VideoTrackList.getTrackById(id);`

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

lengthcljs

(length this)

Property.

[Read Only]

The read-only web.video.VideoTrackList property length returns number of entries in the VideoTrackList, each of which is a web.video.VideoTrack one video track in the media element.

var trackCount = VideoTrackList.length;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/length

Property.

[Read Only]

The read-only `web.video.VideoTrackList` property length returns
number of entries in the VideoTrackList, each of which is a `web.video.VideoTrack`
one video track in the media element.

`var trackCount = VideoTrackList.length;`

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

onaddtrackcljs

(onaddtrack this)

Property.

The web.video.VideoTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new video track has been added to the media element whose video the VideoTrackList represents.

VideoTrackList.onaddtrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack

Property.

The `web.video.VideoTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new video track has been added to the media element whose video
the VideoTrackList represents.

`VideoTrackList.onaddtrack = eventHandler;`

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

onchangecljs

(onchange this)

Property.

The web.video.VideoTrackList property onchange is an event which is called when the change event occurs, indicating that web.video.VideoTrack in the VideoTrackList has been made active.

VideoTrackList.onchange = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange

Property.

The `web.video.VideoTrackList` property onchange is an event
which is called when the change event occurs, indicating that
`web.video.VideoTrack` in the VideoTrackList has been made active.

`VideoTrackList.onchange = eventHandler;`

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

onremovetrackcljs

(onremovetrack this)

Property.

The web.video.VideoTrackList onremovetrack event handler is when the removetrack event occurs, indicating that a video track been removed from the media element, and therefore also from VideoTrackList.

VideoTrackList.onremovetrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack

Property.

The `web.video.VideoTrackList` onremovetrack event handler is
when the removetrack event occurs, indicating that a video track
been removed from the media element, and therefore also from
VideoTrackList.

`VideoTrackList.onremovetrack = eventHandler;`

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

selected-indexcljs

(selected-index this)

Property.

[Read Only]

The read-only web.video.VideoTrackList property selectedIndex the index of the currently selected track, if any, or -1 otherwise.

var index = VideoTrackList.selectedIndex;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/selectedIndex

Property.

[Read Only]

The read-only `web.video.VideoTrackList` property selectedIndex
the index of the currently selected track, if any, or -1 otherwise.

`var index = VideoTrackList.selectedIndex;`

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

set-onaddtrack!cljs

(set-onaddtrack! this val)

Property.

The web.video.VideoTrackList property onaddtrack is an event which is called when the addtrack event occurs, indicating that new video track has been added to the media element whose video the VideoTrackList represents.

VideoTrackList.onaddtrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onaddtrack

Property.

The `web.video.VideoTrackList` property onaddtrack is an event
which is called when the addtrack event occurs, indicating that
new video track has been added to the media element whose video
the VideoTrackList represents.

`VideoTrackList.onaddtrack = eventHandler;`

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

set-onchange!cljs

(set-onchange! this val)

Property.

The web.video.VideoTrackList property onchange is an event which is called when the change event occurs, indicating that web.video.VideoTrack in the VideoTrackList has been made active.

VideoTrackList.onchange = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onchange

Property.

The `web.video.VideoTrackList` property onchange is an event
which is called when the change event occurs, indicating that
`web.video.VideoTrack` in the VideoTrackList has been made active.

`VideoTrackList.onchange = eventHandler;`

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

set-onremovetrack!cljs

(set-onremovetrack! this val)

Property.

The web.video.VideoTrackList onremovetrack event handler is when the removetrack event occurs, indicating that a video track been removed from the media element, and therefore also from VideoTrackList.

VideoTrackList.onremovetrack = eventHandler;

See also: https://developer.mozilla.org/en-US/docs/Web/API/VideoTrackList/onremovetrack

Property.

The `web.video.VideoTrackList` onremovetrack event handler is
when the removetrack event occurs, indicating that a video track
been removed from the media element, and therefore also from
VideoTrackList.

`VideoTrackList.onremovetrack = eventHandler;`

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

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

× close