ImageTrackList

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.

Note: This feature is available in Dedicated Web Workers.

The ImageTrackList interface of the WebCodecs API represents a list of image tracks.

Instance properties

ImageTrackList.ready Read only Experimental

Returns a promise that resolves once the ImageTrackList has been populated with tracks.

ImageTrackList.length Read only Experimental

Returns an integer indicating the length of the ImageTrackList.

ImageTrackList.selectedIndex Read only Experimental

Returns an integer indicating the index of the selectedTrack.

ImageTrackList.selectedTrack Read only Experimental

Returns the selected ImageTrack.

Specifications

Specification
WebCodecs
# imagetracklist-interface

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
ImageTrackList
Experimental
length
Experimental
ready
Experimental
selectedIndex
Experimental
selectedTrack
Experimental