@beyondwords/player 0.1.46 → 0.1.47
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 +4 -4
- package/dist/es.js.map +1 -1
- package/dist/umd.js +3 -3
- package/dist/umd.js.map +1 -1
- package/package.json +1 -1
package/dist/es.js
CHANGED
|
@@ -45,7 +45,7 @@ var bi = (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.
|
|
48
|
+
/*! version:"0.1.47" */
|
|
49
49
|
function Q() {
|
|
50
50
|
}
|
|
51
51
|
const Eu = (t) => t;
|
|
@@ -593,7 +593,7 @@ class Te {
|
|
|
593
593
|
}
|
|
594
594
|
const tc = "4";
|
|
595
595
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tc);
|
|
596
|
-
const ic = "@beyondwords/player", oo = "0.1.
|
|
596
|
+
const ic = "@beyondwords/player", oo = "0.1.47", ci = (t, e) => {
|
|
597
597
|
t = [t].flat().join(`
|
|
598
598
|
`);
|
|
599
599
|
let i = `${ic}:
|
|
@@ -5573,7 +5573,7 @@ function fm(t) {
|
|
|
5573
5573
|
function mm(t, e, i) {
|
|
5574
5574
|
let n, o, s, l, a, r, u, d, g, f, A, m, y, v, T, p, { content: w } = e, { contentIndex: E } = e, { introOrOutro: D } = e, { activeAdvert: S } = e, { advertConsent: P } = e, { maxImageSize: K } = e, { projectId: N } = e, { playlistId: Y } = e, { contentId: ne } = e, { contentLanguage: ue } = e, { platform: ce } = e, { vendorIdentifier: $ } = e, { bundleIdentifier: ee } = e, { playbackState: te } = e, { duration: de } = e, { currentTime: se } = e, { playbackRate: he } = e, { prevPercentage: re } = e, { showUserInterface: k } = e, { videoBehindWidget: C } = e, { videoBehindStatic: R } = e, { videoMightBeShown: L } = e, { widgetPosition: Be } = e, { widgetWidth: Me } = e, { widgetTarget: J } = e, { onEvent: q = () => {
|
|
5575
5575
|
} } = e, { metadataLoaded: Pe } = e, { video: _e = void 0 } = e, Je, We, $e, Le = 0, Ne = 0, ct = se, Ve, mt;
|
|
5576
|
-
const Ge = (U) =>
|
|
5576
|
+
const Ge = (U) => i(19, Le = U), ht = () => L, He = () => {
|
|
5577
5577
|
var U;
|
|
5578
5578
|
return (_e == null ? void 0 : _e.paused) && ((U = _e == null ? void 0 : _e.play()) == null ? void 0 : U.catch(et));
|
|
5579
5579
|
}, it = () => !(_e != null && _e.paused) && (_e == null ? void 0 : _e.pause()), _t = () => {
|
|
@@ -5730,7 +5730,7 @@ function mm(t, e, i) {
|
|
|
5730
5730
|
1073741824 && n && import("./././././././././style.js"), t.$$.dirty[0] & /*time*/
|
|
5731
5731
|
524288 && i(1, se = Le), t.$$.dirty[0] & /*currentTime*/
|
|
5732
5732
|
2 | t.$$.dirty[1] & /*activeAdvert*/
|
|
5733
|
-
32768 && !S && Ge(se), t.$$.dirty[0] & /*content*/
|
|
5733
|
+
32768 && !S && nr().then(() => Ge(se)), t.$$.dirty[0] & /*content*/
|
|
5734
5734
|
32 | t.$$.dirty[1] & /*contentIndex*/
|
|
5735
5735
|
8192 && i(60, o = w[E]), t.$$.dirty[1] & /*contentItem*/
|
|
5736
5736
|
536870912 && i(56, s = (o == null ? void 0 : o.segments) || []), t.$$.dirty[1] & /*contentIndex, introOrOutro, activeAdvert, loadCount*/
|