@beyondwords/player 0.1.13 → 0.1.14

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
@@ -45,7 +45,7 @@ var vi = (t, e, i) => new Promise((n, s) => {
45
45
  }, l = (a) => a.done ? n(a.value) : Promise.resolve(a.value).then(o, r);
46
46
  l((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.13" */
48
+ /*! version:"0.1.14" */
49
49
  function G() {
50
50
  }
51
51
  const qa = (t) => t;
@@ -593,7 +593,7 @@ class pe {
593
593
  }
594
594
  const fu = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fu);
596
- const hu = "@beyondwords/player", xs = "0.1.13", ci = (t, e) => {
596
+ const hu = "@beyondwords/player", xs = "0.1.14", ci = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${hu}:
@@ -18014,7 +18014,7 @@ class L3 {
18014
18014
  this.preScrubState = this.player.playbackState, this.pauseTimeout = setTimeout(() => E(this, go, ka).call(this), 100), E(this, xt, ii).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
18015
18015
  }
18016
18016
  handleScrubbedProgressBar({ ratio: e }) {
18017
- E(this, xt, ii).call(this, (i, n) => e * n), e !== 0 && (this.segmentPlayed = !0);
18017
+ E(this, xt, ii).call(this, (i, n) => e * n - 0.01), e !== 0 && (this.segmentPlayed = !0);
18018
18018
  }
18019
18019
  handleFinishedScrubbingProgressBar() {
18020
18020
  clearTimeout(this.pauseTimeout), this.player.playbackState = this.preScrubState, delete this.preScrubState;