@beyondwords/player 0.0.0-beta23 → 0.0.0-beta24

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.
package/dist/es.js CHANGED
@@ -550,7 +550,7 @@ class it {
550
550
  this.$$set && !A0(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
551
551
  }
552
552
  }
553
- const q0 = "@beyondwords/player", eu = "0.0.0-beta23", er = (t, e) => {
553
+ const q0 = "@beyondwords/player", eu = "0.0.0-beta24", er = (t, e) => {
554
554
  t = [t].flat().join(`
555
555
  `);
556
556
  let i = `${q0}:
@@ -1101,7 +1101,7 @@ var nf = { exports: {} };
1101
1101
  "error"
1102
1102
  );
1103
1103
  try {
1104
- Ie.log('Debug logs enabled for "' + c + '" in hls.js version 1.4.4');
1104
+ Ie.log('Debug logs enabled for "' + c + '" in hls.js version 1.4.5');
1105
1105
  } catch (u) {
1106
1106
  Ie = we;
1107
1107
  }
@@ -2897,7 +2897,7 @@ var nf = { exports: {} };
2897
2897
  for (var w = 0; w < S.length; w++) {
2898
2898
  var O = S[w];
2899
2899
  if (!Ot(O)) {
2900
- this.updateId3CueEnds(E);
2900
+ this.updateId3CueEnds(E, b);
2901
2901
  var M = new m(E, A, "");
2902
2902
  M.value = O, b && (M.type = b), this.id3Track.addCue(M);
2903
2903
  }
@@ -2907,12 +2907,12 @@ var nf = { exports: {} };
2907
2907
  }
2908
2908
  }
2909
2909
  }
2910
- }, c.updateId3CueEnds = function(n) {
2911
- var s, o = (s = this.id3Track) == null ? void 0 : s.cues;
2912
- if (o)
2913
- for (var f = o.length; f--; ) {
2914
- var h = o[f];
2915
- h.startTime < n && h.endTime === cr && (h.endTime = n);
2910
+ }, c.updateId3CueEnds = function(n, s) {
2911
+ var o, f = (o = this.id3Track) == null ? void 0 : o.cues;
2912
+ if (f)
2913
+ for (var h = f.length; h--; ) {
2914
+ var v = f[h];
2915
+ v.type === s && v.startTime < n && v.endTime === cr && (v.endTime = n);
2916
2916
  }
2917
2917
  }, c.onBufferFlushing = function(n, s) {
2918
2918
  var o = s.startOffset, f = s.endOffset, h = s.type, v = this.id3Track, m = this.hls;
@@ -8750,6 +8750,9 @@ var nf = { exports: {} };
8750
8750
  break;
8751
8751
  this.state = Be.IDLE;
8752
8752
  break;
8753
+ } else if (this.hls.nextLoadLevel !== this.level) {
8754
+ this.state = Be.IDLE;
8755
+ break;
8753
8756
  }
8754
8757
  break;
8755
8758
  }
@@ -10947,7 +10950,7 @@ var nf = { exports: {} };
10947
10950
  * Get the video-dev/hls.js package version.
10948
10951
  */
10949
10952
  function() {
10950
- return "1.4.4";
10953
+ return "1.4.5";
10951
10954
  }
10952
10955
  )
10953
10956
  }, {
@@ -24061,7 +24064,7 @@ function zk(t, e, i) {
24061
24064
  8 && i(1, V = a && (we == null ? void 0 : we.iconColor) || Ke), t.$$.dirty[0] & /*background, foreground, fallbackSvgs*/
24062
24065
  7 && i(16, ve = L.map((Le, Ye) => V0().then(() => te[Ye]))), t.$$.dirty[0] & /*activeAdvert, persistentAdvert, contentItem*/
24063
24066
  134217920 | t.$$.dirty[1] & /*isAdvert, isStopped*/
24064
- 12 && i(32, z = a && we.imageUrl || !r && (Ie == null ? void 0 : Ie.imageUrl) || g.imageUrl), t.$$.dirty[0] & /*failedUrls*/
24067
+ 12 && i(32, z = a && we.imageUrl || !r && (Ie == null ? void 0 : Ie.imageUrl) || (g == null ? void 0 : g.imageUrl)), t.$$.dirty[0] & /*failedUrls*/
24065
24068
  32768 | t.$$.dirty[1] & /*imageUrl_*/
24066
24069
  2 && i(28, H = Fe.has(z) ? null : z), t.$$.dirty[0] & /*imageUrl*/
24067
24070
  268435456 && i(31, oe = H ? L.map((Le) => Ok(H, Le, Le)) : []), t.$$.dirty[0] & /*imageUrl*/