W3cubDocs

/Haxe JavaScript

AudioTrackList

package js.html

extends EventTarget

Available on js

The AudioTrackList interface is used to represent a list of the audio tracks contained within a given HTML media element, with each track represented by a separate AudioTrack object in the list.

Documentation AudioTrackList by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See also:

Variables

read onlylength:Int

The number of tracks in the list.

onaddtrack:Function

onchange:Function

onremovetrack:Function

Methods

getTrackById(id:String):AudioTrack

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/AudioTrackList.html