MDN self-hosted library · e01.org

ImageTrack

WebCodecs APIwindowanddedicated

no runnable cells web-api-interface upstream source

WebCodecs APIwindow_and_dedicated

The ImageTrack interface of the represents an individual image track.

Instance properties

  • ImageTrack.animated
  • : Returns a Boolean indicating whether the track is animated and therefore has multiple frames.
  • ImageTrack.frameCount
  • : Returns an integer indicating the number of frames in the track.
  • ImageTrack.repetitionCount
  • : Returns an integer indicating the number of times that the animation repeats.
  • ImageTrack.selected
  • : Returns a Boolean indicating whether the track is selected for decoding.

Specifications

Browser compatibility