Liking cljdoc? Tell your friends :D

web.VideoTrackList

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

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

get-track-by-idcljs

(get-track-by-id this id)

Method.

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

var theTrack = VideoTrackList.getTrackById(id);

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

Method.

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

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

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

lengthcljs

(length this)

Property.

The read-only web.VideoTrackList property length returns the of entries in the VideoTrackList, each of which is a web.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.

The read-only `web.VideoTrackList` property length returns the
of entries in the VideoTrackList, each of which is a `web.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.VideoTrackList property onaddtrack is an event handler is called when the addtrack event occurs, indicating that a new track has been added to the media element whose video tracks VideoTrackList represents.

VideoTrackList.onaddtrack = eventHandler;

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

Property.

The `web.VideoTrackList` property onaddtrack is an event handler
is called when the addtrack event occurs, indicating that a new
track has been added to the media element whose video tracks
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.VideoTrackList property onchange is an event handler is called when the change event occurs, indicating that a web.VideoTrack 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.VideoTrackList` property onchange is an event handler
is called when the change event occurs, indicating that a `web.VideoTrack`
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.VideoTrackList onremovetrack event handler is called the removetrack event occurs, indicating that a video track has removed from the media element, and therefore also from the VideoTrackList.

VideoTrackList.onremovetrack = eventHandler;

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

Property.

The `web.VideoTrackList` onremovetrack event handler is called
the removetrack event occurs, indicating that a video track has
removed from the media element, and therefore also from the 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.

The read-only web.VideoTrackList property selectedIndex returns 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.

The read-only `web.VideoTrackList` property selectedIndex returns
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.VideoTrackList property onaddtrack is an event handler is called when the addtrack event occurs, indicating that a new track has been added to the media element whose video tracks VideoTrackList represents.

VideoTrackList.onaddtrack = eventHandler;

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

Property.

The `web.VideoTrackList` property onaddtrack is an event handler
is called when the addtrack event occurs, indicating that a new
track has been added to the media element whose video tracks
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.VideoTrackList property onchange is an event handler is called when the change event occurs, indicating that a web.VideoTrack 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.VideoTrackList` property onchange is an event handler
is called when the change event occurs, indicating that a `web.VideoTrack`
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.VideoTrackList onremovetrack event handler is called the removetrack event occurs, indicating that a video track has removed from the media element, and therefore also from the VideoTrackList.

VideoTrackList.onremovetrack = eventHandler;

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

Property.

The `web.VideoTrackList` onremovetrack event handler is called
the removetrack event occurs, indicating that a video track has
removed from the media element, and therefore also from the 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