ImageTrack
Limited availability
This feature is not Baseline because it does not work in some of the most widely-used browsers.
Note: This feature is available inDedicated Web Workers.
TheImageTrack interface of theWebCodecs API represents an individual image track.
In this article
Instance properties
ImageTrack.animatedRead onlyReturns a
booleanindicating whether the track is animated and therefore has multiple frames.ImageTrack.frameCountRead onlyReturns an integer indicating the number of frames in the track.
ImageTrack.repetitionCountRead onlyReturns an integer indicating the number of times that the animation repeats.
ImageTrack.selectedRead onlyReturns a
booleanindicating whether the track is selected for decoding.
Specifications
| Specification |
|---|
| WebCodecs> # imagetrack-interface> |