ImageDecoder: tracks property

فهرست فصل‌ها دانلود آرشیوناشر

MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونه‌کد

{{securecontext_header}}{{APIRef("WebCodecs API")}}{{AvailableInWorkers("window_and_dedicated")}}

The **tracks** read-only property of the {{domxref("ImageDecoder")}} interface returns a list of the tracks in the encoded image data.

Value

An {{domxref("ImageTrackList")}}.

Examples

The following example prints the value of tracks to the console. This will be an {{domxref("ImageTrackList")}} object.

js
console.log(imageDecoder.tracks);

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}