message: Delay video quality until play
diff: .filter(it => it <= Math.min(targetQuality, availableHighestQualities))
  .sort(it => it);
  + const video = document.querySelector("video");
  + function onplay()
  + {
  qualityItems.each((_, it) =>
  {
  if (parseInt(it.getAttribute("data-value")) === finalQuality)
  it.click();
  }
  });
  + this.removeEventListener("play", onplay);
  + }
  + video.addEventListener("play", onplay);
  })();
  };
  })();
  \ No newline at end of file
  