@polesye HMoved this.config.hasHDQualities to onFetchAvailableQualities.:

 if (this.config.hasHDQualities) {
   this.trigger('videoQualityControl.showQualityControl');
 }