A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://developer.mozilla.org/en-US/docs/Web/API/ImageTrackList/selectedIndex below:

ImageTrackList: selectedIndex property - Web APIs

MDN Web Docs
  1. Web
  2. Web APIs
  3. ImageTrackList
  4. selectedIndex

Filter sidebar

In this article
  1. WebCodecs API
  2. ImageTrackList
  3. Instance properties
    1. length
    2. ready
    3. selectedIndex
    4. selectedTrack
  4. Related pages for WebCodecs API
    1. AudioData
    2. AudioDecoder
    3. AudioEncoder
    4. EncodedAudioChunk
    5. EncodedVideoChunk
    6. ImageDecoder
    7. ImageTrack
    8. VideoColorSpace
    9. VideoDecoder
    10. VideoEncoder
    11. VideoFrame
In this article ImageTrackList: selectedIndex property

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 in Dedicated Web Workers.

The selectedIndex property of the ImageTrackList interface returns the index of the selected track.

Value

An integer.

Examples

The following example prints the value of selectedIndex to the console.

js

let tracks = imageDecoder.tracks;
console.log(tracks.selectedIndex);
Specifications Specification WebCodecs
# dom-imagetracklist-selectedindex
Browser compatibility Help improve MDN Was this page helpful to you? Learn how to contribute

.

This page was last modified on Oct 31, 2024 by MDN contributors.

View this page on GitHub

•

Report a problem with this content

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4