@eluvio/elv-player-js 2.1.0 → 2.1.2
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/.vite/manifest.json +15 -15
- package/dist/{dash.all.min-CI5RcNnm.mjs → dash.all.min-BL6tNUCs.mjs} +1 -1
- package/dist/{dash.all.min-CF_-4Slr.js → dash.all.min-DSdDnxBL.js} +1 -1
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.css +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-DbJqN5VS.js → index-7GwGdyHP.js} +1 -1
- package/dist/{index-DboHaHhI.mjs → index-BTJyodYy.mjs} +14 -14
- package/dist/{index-BruQW3W6.js → index-BuOaL0fD.js} +4 -4
- package/dist/{index-BlqfaZFd.mjs → index-DlJMTNdL.mjs} +1 -1
- package/lib/static/stylesheets/player.module.scss +1 -1
- package/lib/ui/Common.js +8 -1
- package/package.json +2 -2
|
@@ -2352,20 +2352,20 @@ function rq() {
|
|
|
2352
2352
|
var Be = rq(), Ft = Rg();
|
|
2353
2353
|
const aq = /* @__PURE__ */ Rf(Ft), iq = "_reset_peka4_2", sq = {
|
|
2354
2354
|
reset: iq
|
|
2355
|
-
}, oq = "
|
|
2356
|
-
"player-target": "_player-
|
|
2357
|
-
"player-container": "_player-
|
|
2358
|
-
"player-container--rotated": "_player-container--
|
|
2359
|
-
"spinner-container": "_spinner-
|
|
2355
|
+
}, oq = "_spinner_r0sw4_31", uq = "_controls_r0sw4_59", lq = "_video_r0sw4_63", cq = "_poster_r0sw4_71", Ts = {
|
|
2356
|
+
"player-target": "_player-target_r0sw4_1",
|
|
2357
|
+
"player-container": "_player-container_r0sw4_7",
|
|
2358
|
+
"player-container--rotated": "_player-container--rotated_r0sw4_19",
|
|
2359
|
+
"spinner-container": "_spinner-container_r0sw4_31",
|
|
2360
2360
|
spinner: oq,
|
|
2361
|
-
"cast-indicator-container": "_cast-indicator-
|
|
2361
|
+
"cast-indicator-container": "_cast-indicator-container_r0sw4_45",
|
|
2362
2362
|
controls: uq,
|
|
2363
2363
|
video: lq,
|
|
2364
2364
|
poster: cq,
|
|
2365
|
-
"error-message": "_error-
|
|
2366
|
-
"error-message__message": "_error-
|
|
2367
|
-
"error-message__copy-debug-button": "_error-message__copy-debug-
|
|
2368
|
-
"error-message__icon": "_error-
|
|
2365
|
+
"error-message": "_error-message_r0sw4_82",
|
|
2366
|
+
"error-message__message": "_error-message__message_r0sw4_97",
|
|
2367
|
+
"error-message__copy-debug-button": "_error-message__copy-debug-button_r0sw4_101",
|
|
2368
|
+
"error-message__icon": "_error-message__icon_r0sw4_118"
|
|
2369
2369
|
};
|
|
2370
2370
|
var c0 = {}, q1 = { exports: {} }, As = {}, H1 = { exports: {} }, ZS = {};
|
|
2371
2371
|
/**
|
|
@@ -43993,7 +43993,7 @@ function RP() {
|
|
|
43993
43993
|
}
|
|
43994
43994
|
return this.objectInfo[C].info;
|
|
43995
43995
|
}, fn.ContentObjectOwner = async function({ objectId: g, versionHash: v }) {
|
|
43996
|
-
return v ? o(v) : u(g), v && (g = this.utils.DecodeVersionHash(v).objectId), this.Log(`Retrieving content object owner: ${g}`), (await this.ContentObject({ objectId: g, versionHash: v })).content_profile.owner;
|
|
43996
|
+
return v ? o(v) : u(g), v && (g = this.utils.DecodeVersionHash(v).objectId), this.Log(`Retrieving content object owner: ${g}`), this.utils.HashToAddress((await this.ContentObject({ objectId: g, versionHash: v })).content_profile.owner);
|
|
43997
43997
|
}, fn.ContentObjectTenantId = async function({ objectId: g, versionHash: v }) {
|
|
43998
43998
|
if (v ? o(v) : u(g), v && (g = this.utils.DecodeVersionHash(v).objectId), !this.objectTenantIds[g])
|
|
43999
43999
|
try {
|
|
@@ -50031,7 +50031,7 @@ function UP() {
|
|
|
50031
50031
|
ElvCrypto: async () => {
|
|
50032
50032
|
try {
|
|
50033
50033
|
if (!a.elvCrypto) {
|
|
50034
|
-
const s = (await import("./index-
|
|
50034
|
+
const s = (await import("./index-DlJMTNdL.mjs")).default;
|
|
50035
50035
|
a.elvCrypto = await new s().init();
|
|
50036
50036
|
}
|
|
50037
50037
|
return a.elvCrypto;
|
|
@@ -66418,7 +66418,7 @@ const Un = {
|
|
|
66418
66418
|
let o = `${s.toString().padStart(t ? 2 : 1, "0")}:${u.toString().padStart(2, "0")}`;
|
|
66419
66419
|
return t && (o = `${a.toString()}:${o}`), o;
|
|
66420
66420
|
}, w8 = async ({ player: r, pathOrUrl: e = "", width: t }) => {
|
|
66421
|
-
if (typeof e == "string" && (e.startsWith("http://") || e.startsWith("https://")))
|
|
66421
|
+
if (typeof e == "string" && (e.startsWith("http://") || e.startsWith("https://") || e.startsWith("data:")))
|
|
66422
66422
|
return e;
|
|
66423
66423
|
if (e && e.url)
|
|
66424
66424
|
return e.url;
|
|
@@ -66798,7 +66798,7 @@ class Gw {
|
|
|
66798
66798
|
}
|
|
66799
66799
|
}
|
|
66800
66800
|
async __InitializeDash({ playoutUrl: e, authorizationToken: t, drm: a, drms: s }) {
|
|
66801
|
-
this.Dash = (await import("./dash.all.min-
|
|
66801
|
+
this.Dash = (await import("./dash.all.min-BL6tNUCs.mjs").then((c) => c.d)).default;
|
|
66802
66802
|
const u = this.Dash.MediaPlayer().create(), o = this.playerOptions.dashjsOptions || {};
|
|
66803
66803
|
if (u.updateSettings({
|
|
66804
66804
|
...o,
|