@byomakase/omakase-player 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11931,7 +11931,7 @@ class Nf extends Uo {
11931
11931
  onMeasurementsChange() {
11932
11932
  super.onMeasurementsChange();
11933
11933
  let e = this.startMarkerHandle.getVerticalMeasurement();
11934
- this.selectedAreaRect.setAttrs({
11934
+ this.selectedAreaRect && this.selectedAreaRect.setAttrs({
11935
11935
  y: e.y,
11936
11936
  height: e.height
11937
11937
  });
@@ -16922,7 +16922,7 @@ class qm extends jm {
16922
16922
  }
16923
16923
  initEventHandlers() {
16924
16924
  super.initEventHandlers(), this.hls.on(ze.Events.ERROR, function(e, t) {
16925
- t.type, t.details, t.fatal, console.error(e, t), (t.details === ze.ErrorDetails.BUFFER_STALLED_ERROR || t.details === ze.ErrorDetails.BUFFER_APPEND_ERROR || t.details === ze.ErrorDetails.BUFFER_APPENDING_ERROR) && (this.videoPlaybackStateHolder.buffering = !0);
16925
+ t.type, t.details, t.fatal, console.error(e, t), t.details === ze.ErrorDetails.BUFFER_STALLED_ERROR || t.details === ze.ErrorDetails.BUFFER_APPEND_ERROR || (t.details, ze.ErrorDetails.BUFFER_APPENDING_ERROR);
16926
16926
  });
16927
16927
  }
16928
16928
  getAudioTracks() {
@@ -17479,9 +17479,10 @@ class rg {
17479
17479
  return Qm;
17480
17480
  }
17481
17481
  destroy() {
17482
- this.onDestroy$ && (this.onDestroy$.next(), this.onDestroy$.complete()), this.timeline.getLanes().forEach((e) => {
17483
- e != null && (e.clearContent(), e.destroy());
17484
- }), this.timeline.destroy(), this.video.getHls().off(ze.Events.ERROR), this.video.getHls().destroy(), this.subtitlesController.destroy(), this.domController.destroy(), this.videoController.destroy();
17482
+ var e, t;
17483
+ this.onDestroy$ && (this.onDestroy$.next(), this.onDestroy$.complete()), (e = this.timeline) != null && e.getLanes() && this.timeline.getLanes().forEach((i) => {
17484
+ i != null && (i.clearContent(), i.destroy());
17485
+ }), this.timeline && this.timeline.destroy(), (t = this.video) != null && t.getHls() && (this.video.getHls().off(ze.Events.ERROR), this.video.getHls().destroy()), this.subtitlesController && this.subtitlesController.destroy(), this.domController && this.domController.destroy(), this.videoController && this.videoController.destroy();
17485
17486
  }
17486
17487
  }
17487
17488
  export {