@beyondwords/player 0.1.33 → 0.1.34

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 pi = (t, e, i) => new Promise((n, o) => {
45
45
  }, a = (r) => r.done ? n(r.value) : Promise.resolve(r.value).then(s, l);
46
46
  a((i = i.apply(t, e)).next());
47
47
  });
48
- /*! version:"0.1.33" */
48
+ /*! version:"0.1.34" */
49
49
  function ee() {
50
50
  }
51
51
  const yu = (t) => t;
@@ -593,7 +593,7 @@ class we {
593
593
  }
594
594
  const Nu = "4";
595
595
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nu);
596
- const xu = "@beyondwords/player", Yo = "0.1.33", di = (t, e) => {
596
+ const xu = "@beyondwords/player", Yo = "0.1.34", di = (t, e) => {
597
597
  t = [t].flat().join(`
598
598
  `);
599
599
  let i = `${xu}:
@@ -968,7 +968,7 @@ const gc = (t, e) => pi(void 0, null, function* () {
968
968
  n.manifestLoaded = !0, s({ fromHls: !0 });
969
969
  }), n.loadSource(t.url), n.attachMedia(e);
970
970
  } else
971
- u && (e.removeAttribute("src"), e.load());
971
+ u ? (e.removeAttribute("src"), e.load()) : e.sourceUrl && s({});
972
972
  return a || l(), e.playbackRate = r, e.sourceUrl = t.url, n || "not-used";
973
973
  }, tr = (t, e, i = 10) => {
974
974
  if (!(!t || t === "not-used" || t.loadMediaCalled)) {