Skip to content

TextTrackList onchange not working in Microsoft Edge #2438

Closed
@wannabefro

Description

The onchange event is not being triggered on a TextTrackList in Microsoft Edge.
I've produced a simple example bin here
Expected behaviour is when switching between textTracks, "changed track" should be logged to the console.

The output of what player.textTracks() is below

[object TextTrackList] {
  0: [object TextTrack] {
    activeCues: null,
    addCue: function addCue() { [native code] },
    addEventListener: function addEventListener() { [native code] },
    cues: [object TextTrackCueList] { ... },
    DISABLED: 0,
    dispatchEvent: function dispatchEvent() { [native code] },
    ERROR: 3,
    HIDDEN: 1,
    inBandMetadataTrackDispatchType: "",
    kind: "subtitles",
    label: "English",
    language: "en",
    LOADED: 2,
    LOADING: 1,
    mode: "disabled",
    NONE: 0,
    oncuechange: null,
    onerror: null,
    onload: null,
    readyState: 0,
    removeCue: function removeCue() { [native code] },
    removeEventListener: function removeEventListener() { [native code] },
    SHOWING: 2
  },
  addEventListener: function addEventListener() { [native code] },
  dispatchEvent: function dispatchEvent() { [native code] },
  item: function item() { [native code] },
  length: 1,
  onaddtrack: null,
  removeEventListener: function removeEventListener() { [native code] }
}

I noticed that both onchange and onremovetrack are missing from it.

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions