platform/video.videojs/dist/video.es.js
function disableOthers(list, track) {
  for (var i = 0; i < list.length; i++) {
    if (!Object.keys(list[i]).length || track.id === list[i].id) {
      continue;
    }
    // another video track is enabled, disable it
    list[i].selected = false;
  }
}
function disableOthers(list, track) {
  for (var i = 0; i < list.length; i++) {
    if (!Object.keys(list[i]).length || track.id === list[i].id) {
      continue;
    }
    // another video track is enabled, disable it
    list[i].selected = false;
  }
}
@file video-track-list.js
 
Un-select all other {@link VideoTrack}s that are selected.

@param {VideoTrackList} list
list to work on

@param {VideoTrack} track
The track to skip

@private