Video videoTracks Property
Example
Get the number of available video tracks:
 var x = document.getElementById("myVideo").videoTracks.length;
Try it Yourself »
Definition and Usage
The videoTracks property returns a VideoTrackList object.
The VideoTrackList object represents the available video tracks for the video.
Each available video track is represented by an VideoTrack Object.
Browser Support
| Property | |||||
|---|---|---|---|---|---|
| videoTracks | Not supported | Not supported | Not supported | Not supported | Not supported | 
Syntax
 
  videoObject.videoTracks
Return Value
| Type | Description | 
|---|---|
| VideoTrackList Object | Represents the available video tracks for the video. VideoTrackList Object: 
 Note: The first available VideoTrack object is index 0  | 
    
| VideoTrack Object | Represents a video track. VideoTrack Object Properties: 
  | 
    
❮ Video Object

