Note: This feature is available in Dedicated Web Workers.
The ImageTrack interface of the WebCodecs API represents an individual image track.
ImageTrack.animated Read onlyReturns a Boolean indicating whether the track is animated and therefore has multiple frames.
ImageTrack.frameCount Read onlyReturns an integer indicating the number of frames in the track.
ImageTrack.repetitionCount Read onlyReturns an integer indicating the number of times that the animation repeats.
ImageTrack.selected Read onlyReturns a Boolean indicating whether the track is selected for decoding.