new HtmlTrackElementList(tracksopt)

[tracks/html-track-element-list.js](https://docs.videojs.com/tracks_html-track-element-list.js.html), [line 8](https://docs.videojs.com/tracks_html-track-element-list.js.html#line8)

Create an instance of this class.

Parameters:
NameTypeAttributesDefaultDescription
tracksArray.<HtmlTrackElement><optional>
[]

A list of HtmlTrackElement to instantiate the list with.

Members

length :number

[tracks/html-track-element-list.js](https://docs.videojs.com/tracks_html-track-element-list.js.html), [line 19](https://docs.videojs.com/tracks_html-track-element-list.js.html#line19)

The current number of Tracks in the this Trackist.