Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

VideoTrackList

For additional information, see https://html.spec.whatwg.org/multipage/media.html#videotracklist.

Extends

Properties

length

readonly length: number

For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-videotracklist-length.


selectedIndex

readonly selectedIndex: number

For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-videotracklist-selectedindex.


onchange?

optional onchange: EventListener

For additional information, see https://html.spec.whatwg.org/multipage/media.html#handler-tracklist-onchange.


onaddtrack?

optional onaddtrack: EventListener

For additional information, see https://html.spec.whatwg.org/multipage/media.html#handler-tracklist-onaddtrack.


onremovetrack?

optional onremovetrack: EventListener

For additional information, see https://html.spec.whatwg.org/multipage/media.html#handler-tracklist-onremovetrack.

Methods

getTrackById()

getTrackById(id: string): VideoTrack | undefined

For additional information, see https://html.spec.whatwg.org/multipage/media.html#dom-videotracklist-gettrackbyid.

Parameters

id

string

Returns

VideoTrack | undefined


Last updated: Jul 22, 2026