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.
(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`
(length this)
Property.
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. 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`
(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`
(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`
(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`
(selected-index this)
Property.
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. 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`
(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`
(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`
(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`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close