@beyondwords/player 0.0.0-beta46 → 0.0.0-beta47
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 +10 -6
- 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
|
@@ -549,7 +549,7 @@ class pe {
|
|
|
549
549
|
this.$$set && !fa(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
|
-
const Ea = "@beyondwords/player", yr = "0.0.0-
|
|
552
|
+
const Ea = "@beyondwords/player", yr = "0.0.0-beta47", Xt = (t, e) => {
|
|
553
553
|
t = [t].flat().join(`
|
|
554
554
|
`);
|
|
555
555
|
let i = `${Ea}:
|
|
@@ -11474,7 +11474,7 @@ function X0(t, e, i) {
|
|
|
11474
11474
|
2 && i(49, Z = r ? "rgba(250, 250, 250, 0.8)" : W), t.$$.dirty[0] & /*isSmall, isVideo, fixedPosition, isScreen, isMobile*/
|
|
11475
11475
|
1095237888 && i(31, J = n || r && Ve ? 0.8 : l && !m ? 2 : 1), t.$$.dirty[0] & /*isScreen, isVideo, isStopped*/
|
|
11476
11476
|
151519232 | t.$$.dirty[1] & /*buttonScale*/
|
|
11477
|
-
1 && i(48, z = J * (l ? 1.5 : r && c ?
|
|
11477
|
+
1 && i(48, z = J * (l ? 1.5 : r && c ? 1.6 : 1)), t.$$.dirty[0] & /*isScreen, isMobile, isVideo*/
|
|
11478
11478
|
1091043328 && i(47, x = l && !m ? 3 : l ? 2 : r && !m ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isMobile, isVideo*/
|
|
11479
11479
|
1091043328 && i(46, N = l && !m ? 2.5 : l ? 1.75 : r && !m ? 2 : r ? 1.5 : 1), t.$$.dirty[0] & /*isScreen, isMobile*/
|
|
11480
11480
|
1090519040 && i(45, E = l && !m ? "12px 0" : l ? "4px 0" : "auto"), t.$$.dirty[0] & /*isSmall*/
|
|
@@ -16326,12 +16326,14 @@ const jo = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
16326
16326
|
audio: o.audio.map((r) => ({
|
|
16327
16327
|
id: r.id,
|
|
16328
16328
|
url: r.url,
|
|
16329
|
-
contentType: r.content_type
|
|
16329
|
+
contentType: r.content_type,
|
|
16330
|
+
duration: r.duration ? r.duration / 1e3 : 0
|
|
16330
16331
|
})),
|
|
16331
16332
|
video: o.video.map((r) => ({
|
|
16332
16333
|
id: r.id,
|
|
16333
16334
|
url: r.url,
|
|
16334
|
-
contentType: r.content_type
|
|
16335
|
+
contentType: r.content_type,
|
|
16336
|
+
duration: r.duration ? r.duration / 1e3 : 0
|
|
16335
16337
|
})),
|
|
16336
16338
|
segments: o.segments.map((r) => ({
|
|
16337
16339
|
marker: r.marker,
|
|
@@ -16359,12 +16361,14 @@ const jo = (t) => typeof t != "object" || t === null ? t : Array.isArray(t) ? t.
|
|
|
16359
16361
|
audio: l ? [] : (o.audio || o.media).map((c) => ({
|
|
16360
16362
|
id: c.id,
|
|
16361
16363
|
url: c.url,
|
|
16362
|
-
contentType: c.content_type
|
|
16364
|
+
contentType: c.content_type,
|
|
16365
|
+
duration: c.duration ? c.duration / 1e3 : 0
|
|
16363
16366
|
})),
|
|
16364
16367
|
video: l ? [] : (o.video || []).map((c) => ({
|
|
16365
16368
|
id: c.id,
|
|
16366
16369
|
url: c.url,
|
|
16367
|
-
contentType: c.content_type
|
|
16370
|
+
contentType: c.content_type,
|
|
16371
|
+
duration: c.duration ? c.duration / 1e3 : 0
|
|
16368
16372
|
}))
|
|
16369
16373
|
};
|
|
16370
16374
|
}));
|