@eluvio/elv-player-js 2.0.0 → 2.0.1
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 +17 -17
- package/dist/{Analytics-MzZmvYgy.mjs → Analytics-HWXR7tWt.mjs} +1 -1
- package/dist/{Analytics-jM8HcyUa.js → Analytics-IUVysdzU.js} +1 -1
- package/dist/{dash.all.min-16Sl6Y0h.js → dash.all.min-1QS9Xbir.js} +1 -1
- package/dist/{dash.all.min-2ST8aEXP.mjs → dash.all.min-9V1xYBRv.mjs} +1 -1
- package/dist/elv-player-js.cjs.js +1 -1
- package/dist/elv-player-js.es.js +1 -1
- package/dist/{index-herSXPMN.mjs → index-6cMQneJf.mjs} +1 -1
- package/dist/{index-BThzGsbn.js → index-C8mwW09z.js} +1 -1
- package/dist/{index-Cw8L2-NE.js → index-J4QpmTkA.js} +19 -19
- package/dist/{index-mO9GR6Op.mjs → index-hvQzQ6UX.mjs} +107 -107
- package/lib/player/Controls.js +1 -0
- package/lib/ui/PlayerUI.jsx +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
1
|
+
const pn = {
|
|
2
2
|
ui: {
|
|
3
3
|
WEB: "web",
|
|
4
4
|
TV: "tv"
|
|
@@ -81,7 +81,7 @@ const hn = {
|
|
|
81
81
|
}
|
|
82
82
|
}, zW = {
|
|
83
83
|
clientOptions: {
|
|
84
|
-
network:
|
|
84
|
+
network: pn.networks.MAIN,
|
|
85
85
|
client: void 0,
|
|
86
86
|
staticToken: void 0,
|
|
87
87
|
tenantId: void 0,
|
|
@@ -94,15 +94,15 @@ const hn = {
|
|
|
94
94
|
},
|
|
95
95
|
sourceOptions: {
|
|
96
96
|
protocols: [
|
|
97
|
-
|
|
98
|
-
|
|
97
|
+
pn.protocols.HLS,
|
|
98
|
+
pn.protocols.DASH
|
|
99
99
|
],
|
|
100
100
|
drms: [
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
101
|
+
pn.drms.FAIRPLAY,
|
|
102
|
+
pn.drms.SAMPLE_AES,
|
|
103
|
+
pn.drms.AES128,
|
|
104
|
+
pn.drms.WIDEVINE,
|
|
105
|
+
pn.drms.CLEAR
|
|
106
106
|
],
|
|
107
107
|
contentInfo: {
|
|
108
108
|
title: void 0,
|
|
@@ -110,7 +110,7 @@ const hn = {
|
|
|
110
110
|
description: void 0,
|
|
111
111
|
image: void 0,
|
|
112
112
|
posterImage: void 0,
|
|
113
|
-
type:
|
|
113
|
+
type: pn.type.VOD,
|
|
114
114
|
headers: []
|
|
115
115
|
},
|
|
116
116
|
mediaCollectionOptions: {
|
|
@@ -139,16 +139,16 @@ const hn = {
|
|
|
139
139
|
playerOptions: {
|
|
140
140
|
appName: void 0,
|
|
141
141
|
backgroundColor: void 0,
|
|
142
|
-
ui:
|
|
143
|
-
controls:
|
|
144
|
-
autoplay:
|
|
145
|
-
muted:
|
|
146
|
-
loop:
|
|
147
|
-
watermark:
|
|
148
|
-
keyboardControls:
|
|
149
|
-
capLevelToPlayerSize:
|
|
150
|
-
title:
|
|
151
|
-
playerProfile:
|
|
142
|
+
ui: pn.ui.WEB,
|
|
143
|
+
controls: pn.controls.AUTO_HIDE,
|
|
144
|
+
autoplay: pn.autoplay.OFF,
|
|
145
|
+
muted: pn.muted.OFF,
|
|
146
|
+
loop: pn.loop.OFF,
|
|
147
|
+
watermark: pn.watermark.ON,
|
|
148
|
+
keyboardControls: pn.keyboardControls.ON,
|
|
149
|
+
capLevelToPlayerSize: pn.capLevelToPlayerSize.OFF,
|
|
150
|
+
title: pn.title.ON,
|
|
151
|
+
playerProfile: pn.playerProfile.DEFAULT,
|
|
152
152
|
hlsjsOptions: void 0,
|
|
153
153
|
dashjsOptions: void 0,
|
|
154
154
|
debugLogging: !1,
|
|
@@ -5512,7 +5512,7 @@ function eK() {
|
|
|
5512
5512
|
$s[l]._workInProgressVersionPrimary = null;
|
|
5513
5513
|
$s.length = 0;
|
|
5514
5514
|
}
|
|
5515
|
-
var E0 = K.ReactCurrentDispatcher, Mg = K.ReactCurrentBatchConfig, Nc = 0, Ur = null, it = null, Kn = null,
|
|
5515
|
+
var E0 = K.ReactCurrentDispatcher, Mg = K.ReactCurrentBatchConfig, Nc = 0, Ur = null, it = null, Kn = null, hn = !1, Fo = !1, gs = 0, Pc = 0;
|
|
5516
5516
|
function Fr() {
|
|
5517
5517
|
throw Error(t(321));
|
|
5518
5518
|
}
|
|
@@ -5533,7 +5533,7 @@ function eK() {
|
|
|
5533
5533
|
V += 1, Kn = it = null, f.updateQueue = null, E0.current = Tg, l = b(E, F);
|
|
5534
5534
|
} while (Fo);
|
|
5535
5535
|
}
|
|
5536
|
-
if (E0.current = z0, f = it !== null && it.next !== null, Nc = 0, Kn = it = Ur = null,
|
|
5536
|
+
if (E0.current = z0, f = it !== null && it.next !== null, Nc = 0, Kn = it = Ur = null, hn = !1, f)
|
|
5537
5537
|
throw Error(t(300));
|
|
5538
5538
|
return l;
|
|
5539
5539
|
}
|
|
@@ -5776,7 +5776,7 @@ function eK() {
|
|
|
5776
5776
|
return l === Ur || f !== null && f === Ur;
|
|
5777
5777
|
}
|
|
5778
5778
|
function Op(l, f) {
|
|
5779
|
-
Fo =
|
|
5779
|
+
Fo = hn = !0;
|
|
5780
5780
|
var b = l.pending;
|
|
5781
5781
|
b === null ? f.next = f : (f.next = b.next, b.next = f), l.pending = f;
|
|
5782
5782
|
}
|
|
@@ -7588,12 +7588,12 @@ Error generating stack: ` + V.message + `
|
|
|
7588
7588
|
do {
|
|
7589
7589
|
var b = ea;
|
|
7590
7590
|
try {
|
|
7591
|
-
if (xg(), E0.current = z0,
|
|
7591
|
+
if (xg(), E0.current = z0, hn) {
|
|
7592
7592
|
for (var E = Ur.memoizedState; E !== null; ) {
|
|
7593
7593
|
var F = E.queue;
|
|
7594
7594
|
F !== null && (F.pending = null), E = E.next;
|
|
7595
7595
|
}
|
|
7596
|
-
|
|
7596
|
+
hn = !1;
|
|
7597
7597
|
}
|
|
7598
7598
|
if (Nc = 0, Kn = it = Ur = null, Fo = !1, gs = 0, $g.current = null, b === null || b.return === null) {
|
|
7599
7599
|
Aa = 1, jp = f, ea = null;
|
|
@@ -11271,7 +11271,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11271
11271
|
), Kn = (
|
|
11272
11272
|
/* */
|
|
11273
11273
|
0
|
|
11274
|
-
),
|
|
11274
|
+
), hn = (
|
|
11275
11275
|
/* */
|
|
11276
11276
|
1
|
|
11277
11277
|
), Fo = (
|
|
@@ -11376,7 +11376,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11376
11376
|
);
|
|
11377
11377
|
function o3(a) {
|
|
11378
11378
|
{
|
|
11379
|
-
if (a &
|
|
11379
|
+
if (a & hn)
|
|
11380
11380
|
return "Sync";
|
|
11381
11381
|
if (a & Fo)
|
|
11382
11382
|
return "InputContinuousHydration";
|
|
@@ -11405,8 +11405,8 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11405
11405
|
var Ar = -1, F0 = Dc, B0 = xu;
|
|
11406
11406
|
function Jf(a) {
|
|
11407
11407
|
switch (fa(a)) {
|
|
11408
|
-
case
|
|
11409
|
-
return
|
|
11408
|
+
case hn:
|
|
11409
|
+
return hn;
|
|
11410
11410
|
case Fo:
|
|
11411
11411
|
return Fo;
|
|
11412
11412
|
case gs:
|
|
@@ -11503,7 +11503,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11503
11503
|
}
|
|
11504
11504
|
function z0(a, s) {
|
|
11505
11505
|
switch (a) {
|
|
11506
|
-
case
|
|
11506
|
+
case hn:
|
|
11507
11507
|
case Fo:
|
|
11508
11508
|
case gs:
|
|
11509
11509
|
return s + 250;
|
|
@@ -11556,7 +11556,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11556
11556
|
return s !== it ? s : s & Qi ? Qi : it;
|
|
11557
11557
|
}
|
|
11558
11558
|
function Qf(a) {
|
|
11559
|
-
return (a &
|
|
11559
|
+
return (a & hn) !== it;
|
|
11560
11560
|
}
|
|
11561
11561
|
function Lp(a) {
|
|
11562
11562
|
return (a & U0) !== it;
|
|
@@ -11565,7 +11565,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11565
11565
|
return (a & Bc) === a;
|
|
11566
11566
|
}
|
|
11567
11567
|
function c3(a) {
|
|
11568
|
-
var s =
|
|
11568
|
+
var s = hn | gs | Fr;
|
|
11569
11569
|
return (a & s) === it;
|
|
11570
11570
|
}
|
|
11571
11571
|
function ww(a) {
|
|
@@ -11719,7 +11719,7 @@ Check the render method of \`` + a + "`." : "";
|
|
|
11719
11719
|
function Ug(a, s) {
|
|
11720
11720
|
return null;
|
|
11721
11721
|
}
|
|
11722
|
-
var li =
|
|
11722
|
+
var li = hn, Ka = gs, _u = Fr, Pp = _l, $c = Kn;
|
|
11723
11723
|
function qs() {
|
|
11724
11724
|
return $c;
|
|
11725
11725
|
}
|
|
@@ -16440,8 +16440,8 @@ Incoming: %s`, st, "[" + s.join(", ") + "]", "[" + a.join(", ") + "]");
|
|
|
16440
16440
|
}
|
|
16441
16441
|
}
|
|
16442
16442
|
function IT(a) {
|
|
16443
|
-
var s = Ys(a,
|
|
16444
|
-
s !== null && ni(s, a,
|
|
16443
|
+
var s = Ys(a, hn);
|
|
16444
|
+
s !== null && ni(s, a, hn, Ar);
|
|
16445
16445
|
}
|
|
16446
16446
|
function Px(a) {
|
|
16447
16447
|
var s = Ll();
|
|
@@ -17447,7 +17447,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17447
17447
|
var ee = s.value, he = s.stack;
|
|
17448
17448
|
this.componentDidCatch(ee, {
|
|
17449
17449
|
componentStack: he !== null ? he : ""
|
|
17450
|
-
}), typeof _ != "function" && (Zi(a.lanes,
|
|
17450
|
+
}), typeof _ != "function" && (Zi(a.lanes, hn) || u("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.", wn(a) || "Unknown"));
|
|
17451
17451
|
}), y;
|
|
17452
17452
|
}
|
|
17453
17453
|
function rR(a, s, d) {
|
|
@@ -17492,11 +17492,11 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
|
|
|
17492
17492
|
if (k === null)
|
|
17493
17493
|
d.tag = Se;
|
|
17494
17494
|
else {
|
|
17495
|
-
var j = nf(Ar,
|
|
17496
|
-
j.tag = wx, vd(d, j,
|
|
17495
|
+
var j = nf(Ar, hn);
|
|
17496
|
+
j.tag = wx, vd(d, j, hn);
|
|
17497
17497
|
}
|
|
17498
17498
|
}
|
|
17499
|
-
d.lanes = Mn(d.lanes,
|
|
17499
|
+
d.lanes = Mn(d.lanes, hn);
|
|
17500
17500
|
}
|
|
17501
17501
|
return a;
|
|
17502
17502
|
}
|
|
@@ -18112,7 +18112,7 @@ Check the render method of \`` + y + "`.");
|
|
|
18112
18112
|
return ee.flags |= Ir, J.return = s, ee.return = s, J.sibling = ee, s.child = J, (s.mode & Un) !== cn && wy(s, a.child, null, _), ee;
|
|
18113
18113
|
}
|
|
18114
18114
|
function dV(a, s, d) {
|
|
18115
|
-
return (a.mode & Un) === cn ? (u("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), a.lanes =
|
|
18115
|
+
return (a.mode & Un) === cn ? (u("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), a.lanes = hn) : V3(s) ? a.lanes = Pc : a.lanes = Qi, null;
|
|
18116
18116
|
}
|
|
18117
18117
|
function pV(a, s, d, y, _, k, j) {
|
|
18118
18118
|
if (d)
|
|
@@ -20140,7 +20140,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20140
20140
|
function Md(a) {
|
|
20141
20141
|
var s = a.mode;
|
|
20142
20142
|
if ((s & Un) === cn)
|
|
20143
|
-
return
|
|
20143
|
+
return hn;
|
|
20144
20144
|
if ((Yn & Ri) !== Xa && ei !== it)
|
|
20145
20145
|
return Sa(ei);
|
|
20146
20146
|
var d = dq() !== fq;
|
|
@@ -20159,10 +20159,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20159
20159
|
}
|
|
20160
20160
|
function gG(a) {
|
|
20161
20161
|
var s = a.mode;
|
|
20162
|
-
return (s & Un) === cn ?
|
|
20162
|
+
return (s & Un) === cn ? hn : f3();
|
|
20163
20163
|
}
|
|
20164
20164
|
function ni(a, s, d, y) {
|
|
20165
|
-
jG(), KR && u("useInsertionEffect must not schedule updates."), q6 && (s_ = !0), jc(a, d, y), (Yn & Ri) !== it && a === ws ? qG(s) : (Wa && Dg(a, s, d), VG(s), a === ws && ((Yn & Ri) === Xa && (zb = Mn(zb, d)), ti === Fb && kd(a, ei)), Zs(a, y), d ===
|
|
20165
|
+
jG(), KR && u("useInsertionEffect must not schedule updates."), q6 && (s_ = !0), jc(a, d, y), (Yn & Ri) !== it && a === ws ? qG(s) : (Wa && Dg(a, s, d), VG(s), a === ws && ((Yn & Ri) === Xa && (zb = Mn(zb, d)), ti === Fb && kd(a, ei)), Zs(a, y), d === hn && Yn === Xa && (s.mode & Un) === cn && // Treat `act` as if it's inside `batchedUpdates`, even in legacy mode.
|
|
20166
20166
|
!Uu.isBatchingLegacy && ($b(), Wk()));
|
|
20167
20167
|
}
|
|
20168
20168
|
function bG(a, s, d) {
|
|
@@ -20189,12 +20189,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20189
20189
|
// Scheduler task, rather than an `act` task, cancel it and re-scheduled
|
|
20190
20190
|
// on the `act` queue.
|
|
20191
20191
|
!(Uu.current !== null && d !== Q6)) {
|
|
20192
|
-
d == null && k !==
|
|
20192
|
+
d == null && k !== hn && u("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.");
|
|
20193
20193
|
return;
|
|
20194
20194
|
}
|
|
20195
20195
|
d != null && c7(d);
|
|
20196
20196
|
var j;
|
|
20197
|
-
if (_ ===
|
|
20197
|
+
if (_ === hn)
|
|
20198
20198
|
a.tag === md ? (Uu.isBatchingLegacy !== null && (Uu.didScheduleLegacyUpdate = !0), KH(QR.bind(null, a))) : Gk(QR.bind(null, a)), Uu.current !== null ? Uu.current.push(gd) : Z$(function() {
|
|
20199
20199
|
(Yn & (Ri | Wo)) === Xa && gd();
|
|
20200
20200
|
}), j = null;
|
|
@@ -20367,7 +20367,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20367
20367
|
throw new Error("Should not already be working.");
|
|
20368
20368
|
uf();
|
|
20369
20369
|
var s = Op(a, it);
|
|
20370
|
-
if (!Zi(s,
|
|
20370
|
+
if (!Zi(s, hn))
|
|
20371
20371
|
return Zs(a, Gr()), null;
|
|
20372
20372
|
var d = f_(a, s);
|
|
20373
20373
|
if (a.tag !== md && d === ih) {
|
|
@@ -20384,7 +20384,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20384
20384
|
return a.finishedWork = k, a.finishedLanes = s, uh(a, Qs, sf), Zs(a, Gr()), null;
|
|
20385
20385
|
}
|
|
20386
20386
|
function _G(a, s) {
|
|
20387
|
-
s !== it && (Xf(a, Mn(s,
|
|
20387
|
+
s !== it && (Xf(a, Mn(s, hn)), Zs(a, Gr()), (Yn & (Ri | Wo)) === Xa && ($b(), gd()));
|
|
20388
20388
|
}
|
|
20389
20389
|
function G6(a, s) {
|
|
20390
20390
|
var d = Yn;
|
|
@@ -20631,7 +20631,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20631
20631
|
var Xt = z6;
|
|
20632
20632
|
throw z6 = null, Xt;
|
|
20633
20633
|
}
|
|
20634
|
-
return Zi(Hb,
|
|
20634
|
+
return Zi(Hb, hn) && a.tag !== md && uf(), j = a.pendingLanes, Zi(j, hn) ? (zq(), a === H6 ? qb++ : (qb = 0, H6 = a)) : qb = 0, gd(), Eg(), null;
|
|
20635
20635
|
}
|
|
20636
20636
|
function uf() {
|
|
20637
20637
|
if (Ad !== null) {
|
|
@@ -20686,8 +20686,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20686
20686
|
}
|
|
20687
20687
|
var DG = IG;
|
|
20688
20688
|
function i7(a, s, d) {
|
|
20689
|
-
var y = rh(d, s), _ = nR(a, y,
|
|
20690
|
-
k !== null && (jc(k,
|
|
20689
|
+
var y = rh(d, s), _ = nR(a, y, hn), k = vd(a, _, hn), j = xs();
|
|
20690
|
+
k !== null && (jc(k, hn, j), Zs(k, j));
|
|
20691
20691
|
}
|
|
20692
20692
|
function Br(a, s, d) {
|
|
20693
20693
|
if (MV(d), Kb(!1), a.tag === m) {
|
|
@@ -20702,8 +20702,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
|
|
|
20702
20702
|
} else if (y.tag === h) {
|
|
20703
20703
|
var _ = y.type, k = y.stateNode;
|
|
20704
20704
|
if (typeof _.getDerivedStateFromError == "function" || typeof k.componentDidCatch == "function" && !a7(k)) {
|
|
20705
|
-
var j = rh(d, a), J = y6(y, j,
|
|
20706
|
-
ee !== null && (jc(ee,
|
|
20705
|
+
var j = rh(d, a), J = y6(y, j, hn), ee = vd(y, J, hn), he = xs();
|
|
20706
|
+
ee !== null && (jc(ee, hn, he), Zs(ee, he));
|
|
20707
20707
|
return;
|
|
20708
20708
|
}
|
|
20709
20709
|
}
|
|
@@ -21007,8 +21007,8 @@ This ensures that you're testing the behavior the user would see in the browser.
|
|
|
21007
21007
|
je !== void 0 && (d.has(je) ? ve = !0 : s.has(je) && (j === h ? ve = !0 : he = !0));
|
|
21008
21008
|
}
|
|
21009
21009
|
if (Py !== null && (Py.has(a) || y !== null && Py.has(y)) && (ve = !0), ve && (a._debugNeedsRemount = !0), ve || he) {
|
|
21010
|
-
var Be = Ys(a,
|
|
21011
|
-
Be !== null && ni(Be, a,
|
|
21010
|
+
var Be = Ys(a, hn);
|
|
21011
|
+
Be !== null && ni(Be, a, hn, Ar);
|
|
21012
21012
|
}
|
|
21013
21013
|
_ !== null && !ve && tC(_, s, d), k !== null && tC(k, s, d);
|
|
21014
21014
|
}
|
|
@@ -21405,13 +21405,13 @@ Check the render method of %s.`, wn(Vr) || "Unknown"));
|
|
|
21405
21405
|
}
|
|
21406
21406
|
case W: {
|
|
21407
21407
|
of(function() {
|
|
21408
|
-
var _ = Ys(a,
|
|
21408
|
+
var _ = Ys(a, hn);
|
|
21409
21409
|
if (_ !== null) {
|
|
21410
21410
|
var k = xs();
|
|
21411
|
-
ni(_, a,
|
|
21411
|
+
ni(_, a, hn, k);
|
|
21412
21412
|
}
|
|
21413
21413
|
});
|
|
21414
|
-
var y =
|
|
21414
|
+
var y = hn;
|
|
21415
21415
|
dC(a, y);
|
|
21416
21416
|
break;
|
|
21417
21417
|
}
|
|
@@ -21511,40 +21511,40 @@ Check the render method of %s.`, wn(Vr) || "Unknown"));
|
|
|
21511
21511
|
if (_ !== null) {
|
|
21512
21512
|
var k = B7(_.memoizedState, d, y);
|
|
21513
21513
|
_.memoizedState = k, _.baseState = k, a.memoizedProps = Cn({}, a.memoizedProps);
|
|
21514
|
-
var j = Ys(a,
|
|
21515
|
-
j !== null && ni(j, a,
|
|
21514
|
+
var j = Ys(a, hn);
|
|
21515
|
+
j !== null && ni(j, a, hn, Ar);
|
|
21516
21516
|
}
|
|
21517
21517
|
}, A7 = function(a, s, d) {
|
|
21518
21518
|
var y = pC(a, s);
|
|
21519
21519
|
if (y !== null) {
|
|
21520
21520
|
var _ = I7(y.memoizedState, d);
|
|
21521
21521
|
y.memoizedState = _, y.baseState = _, a.memoizedProps = Cn({}, a.memoizedProps);
|
|
21522
|
-
var k = Ys(a,
|
|
21523
|
-
k !== null && ni(k, a,
|
|
21522
|
+
var k = Ys(a, hn);
|
|
21523
|
+
k !== null && ni(k, a, hn, Ar);
|
|
21524
21524
|
}
|
|
21525
21525
|
}, M7 = function(a, s, d, y) {
|
|
21526
21526
|
var _ = pC(a, s);
|
|
21527
21527
|
if (_ !== null) {
|
|
21528
21528
|
var k = U7(_.memoizedState, d, y);
|
|
21529
21529
|
_.memoizedState = k, _.baseState = k, a.memoizedProps = Cn({}, a.memoizedProps);
|
|
21530
|
-
var j = Ys(a,
|
|
21531
|
-
j !== null && ni(j, a,
|
|
21530
|
+
var j = Ys(a, hn);
|
|
21531
|
+
j !== null && ni(j, a, hn, Ar);
|
|
21532
21532
|
}
|
|
21533
21533
|
}, k7 = function(a, s, d) {
|
|
21534
21534
|
a.pendingProps = B7(a.memoizedProps, s, d), a.alternate && (a.alternate.pendingProps = a.pendingProps);
|
|
21535
|
-
var y = Ys(a,
|
|
21536
|
-
y !== null && ni(y, a,
|
|
21535
|
+
var y = Ys(a, hn);
|
|
21536
|
+
y !== null && ni(y, a, hn, Ar);
|
|
21537
21537
|
}, T7 = function(a, s) {
|
|
21538
21538
|
a.pendingProps = I7(a.memoizedProps, s), a.alternate && (a.alternate.pendingProps = a.pendingProps);
|
|
21539
|
-
var d = Ys(a,
|
|
21540
|
-
d !== null && ni(d, a,
|
|
21539
|
+
var d = Ys(a, hn);
|
|
21540
|
+
d !== null && ni(d, a, hn, Ar);
|
|
21541
21541
|
}, R7 = function(a, s, d) {
|
|
21542
21542
|
a.pendingProps = U7(a.memoizedProps, s, d), a.alternate && (a.alternate.pendingProps = a.pendingProps);
|
|
21543
|
-
var y = Ys(a,
|
|
21544
|
-
y !== null && ni(y, a,
|
|
21543
|
+
var y = Ys(a, hn);
|
|
21544
|
+
y !== null && ni(y, a, hn, Ar);
|
|
21545
21545
|
}, O7 = function(a) {
|
|
21546
|
-
var s = Ys(a,
|
|
21547
|
-
s !== null && ni(s, a,
|
|
21546
|
+
var s = Ys(a, hn);
|
|
21547
|
+
s !== null && ni(s, a, hn, Ar);
|
|
21548
21548
|
}, L7 = function(a) {
|
|
21549
21549
|
S7 = a;
|
|
21550
21550
|
}, N7 = function(a) {
|
|
@@ -49849,7 +49849,7 @@ const yi = {
|
|
|
49849
49849
|
ElvCrypto: async () => {
|
|
49850
49850
|
try {
|
|
49851
49851
|
if (!yi.elvCrypto) {
|
|
49852
|
-
const n = (await import("./index-
|
|
49852
|
+
const n = (await import("./index-6cMQneJf.mjs")).default;
|
|
49853
49853
|
yi.elvCrypto = await new n().init();
|
|
49854
49854
|
}
|
|
49855
49855
|
return yi.elvCrypto;
|
|
@@ -65126,7 +65126,7 @@ class wbe {
|
|
|
65126
65126
|
this.allowRotation = e, this.player.__SettingsUpdate();
|
|
65127
65127
|
}
|
|
65128
65128
|
IsRotatable() {
|
|
65129
|
-
return this.IsFullscreen() && window.innerHeight > window.innerWidth && this.player.video.videoWidth > this.player.video.videoHeight;
|
|
65129
|
+
return this.IsFullscreen() && window.innerWidth < 900 && window.innerHeight > window.innerWidth && this.player.video.videoWidth > this.player.video.videoHeight;
|
|
65130
65130
|
}
|
|
65131
65131
|
/**
|
|
65132
65132
|
* Register a listener for a <a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video#events" target="_blank">standard HTML video event on the player's video element.
|
|
@@ -65295,7 +65295,7 @@ class B2 {
|
|
|
65295
65295
|
constructor({ target: e, video: t, parameters: r, SetErrorMessage: i }) {
|
|
65296
65296
|
this.loading = !0, this.target = e, this.video = t, this.SetErrorMessage = i, this.controls = new wbe({ player: this }), this.__settingsListeners = [], this.__listenerDisposers = [], this.__showPlayerProfileForm = !1, this.playbackStarted = !1, this.reloads = 0, this.canPlay = !1;
|
|
65297
65297
|
try {
|
|
65298
|
-
r.playerOptions.hlsjsOptions && Object.keys(r.playerOptions.hlsjsOptions).length > 0 && (this.customHLSOptions = r.playerOptions.hlsjsOptions, r.playerOptions.playerProfile =
|
|
65298
|
+
r.playerOptions.hlsjsOptions && Object.keys(r.playerOptions.hlsjsOptions).length > 0 && (this.customHLSOptions = r.playerOptions.hlsjsOptions, r.playerOptions.playerProfile = pn.playerProfile.CUSTOM);
|
|
65299
65299
|
} catch (o) {
|
|
65300
65300
|
this.Log(o, !0);
|
|
65301
65301
|
}
|
|
@@ -65409,9 +65409,9 @@ class B2 {
|
|
|
65409
65409
|
}
|
|
65410
65410
|
async __Initialize(e, t) {
|
|
65411
65411
|
if (!this.__destroyed) {
|
|
65412
|
-
this.__Reset(), this.loading = !0, this.initTime = Date.now(), this.__SettingsUpdate(), e && (this.originalParameters = Uj(e), this.clientOptions = e.clientOptions, this.sourceOptions = e.sourceOptions, this.playerOptions = e.playerOptions), this.isLive = e.sourceOptions.contentInfo.type ===
|
|
65412
|
+
this.__Reset(), this.loading = !0, this.initTime = Date.now(), this.__SettingsUpdate(), e && (this.originalParameters = Uj(e), this.clientOptions = e.clientOptions, this.sourceOptions = e.sourceOptions, this.playerOptions = e.playerOptions), this.isLive = e.sourceOptions.contentInfo.type === pn.type.LIVE, this.errors = 0, this.__Client();
|
|
65413
65413
|
try {
|
|
65414
|
-
t && (this.video.volume = t.volume, this.video.muted = t.muted, t.playing && (this.playerOptions.autoplay =
|
|
65414
|
+
t && (this.video.volume = t.volume, this.video.muted = t.muted, t.playing && (this.playerOptions.autoplay = pn.autoplay.ON), t.currentTime && this.__RegisterVideoEventListener(
|
|
65415
65415
|
"loadedmetadata",
|
|
65416
65416
|
() => this.video.currentTime = t.currentTime
|
|
65417
65417
|
)), this.__RegisterVideoEventListener("play", () => {
|
|
@@ -65421,7 +65421,7 @@ class B2 {
|
|
|
65421
65421
|
this.canPlay && !isFinite(this.video.duration) ? this.isLive = !0 : this.video.duration && this.videoDuration > 0 && Math.abs(this.video.duration - this.videoDuration) > 1 && (this.isLive = !0);
|
|
65422
65422
|
};
|
|
65423
65423
|
this.__RegisterVideoEventListener("canplay", () => {
|
|
65424
|
-
this.initTime && !this.initTimeLogged && (this.Log(`Player initialization: ${((Date.now() - this.initTime) / 1e3).toFixed(2)} seconds`), this.initTimeLogged = !0, this.canPlay = !0, r(), this.playerOptions.autoplay ===
|
|
65424
|
+
this.initTime && !this.initTimeLogged && (this.Log(`Player initialization: ${((Date.now() - this.initTime) / 1e3).toFixed(2)} seconds`), this.initTimeLogged = !0, this.canPlay = !0, r(), this.playerOptions.autoplay === pn.autoplay.ON && this.controls.Play());
|
|
65425
65425
|
}), this.__RegisterVideoEventListener("durationchange", () => {
|
|
65426
65426
|
r(), this.videoDuration = this.video.duration;
|
|
65427
65427
|
}), await this.__LoadCollection(), this.collectionInfo && this.collectionInfo.isPlaylist && this.collectionInfo.mediaIndex < this.collectionInfo.mediaLength - 1 && this.__RegisterVideoEventListener("ended", () => this.controls && this.controls.CollectionPlayNext({ autoplay: !0 }));
|
|
@@ -65430,12 +65430,12 @@ class B2 {
|
|
|
65430
65430
|
const h = this.sourceOptions.playoutParameters.authorizationToken || u.searchParams.get("authorization");
|
|
65431
65431
|
if (this.__destroyed)
|
|
65432
65432
|
return;
|
|
65433
|
-
i === "hls" ? await this.__InitializeHLS({ playoutUrl: u, authorizationToken: h, drm: o, drms: c, multiviewOptions: p }) : await this.__InitializeDash({ playoutUrl: u, authorizationToken: h, drm: o, drms: c, multiviewOptions: p }), this.playerOptions.collectVideoAnalytics && import("./Analytics-
|
|
65433
|
+
i === "hls" ? await this.__InitializeHLS({ playoutUrl: u, authorizationToken: h, drm: o, drms: c, multiviewOptions: p }) : await this.__InitializeDash({ playoutUrl: u, authorizationToken: h, drm: o, drms: c, multiviewOptions: p }), this.playerOptions.collectVideoAnalytics && import("./Analytics-HWXR7tWt.mjs").then(({ InitializeMuxMonitoring: g }) => g({
|
|
65434
65434
|
appName: this.playerOptions.appName || "elv-player-js",
|
|
65435
65435
|
elvPlayer: this,
|
|
65436
65436
|
playoutUrl: u,
|
|
65437
65437
|
authorizationToken: h,
|
|
65438
|
-
disableCookies: this.playerOptions.collectVideoAnalytics ===
|
|
65438
|
+
disableCookies: this.playerOptions.collectVideoAnalytics === pn.collectVideoAnalytics.DISABLE_COOKIES
|
|
65439
65439
|
})), this.playerOptions.playerCallback && this.playerOptions.playerCallback({
|
|
65440
65440
|
player: this,
|
|
65441
65441
|
videoElement: this.video,
|
|
@@ -65473,7 +65473,7 @@ class B2 {
|
|
|
65473
65473
|
}
|
|
65474
65474
|
} else {
|
|
65475
65475
|
e.searchParams.delete("authorization");
|
|
65476
|
-
const o = (_be[this.playerOptions.playerProfile] || {}).hlsSettings || {}, u = this.playerOptions.playerProfile ===
|
|
65476
|
+
const o = (_be[this.playerOptions.playerProfile] || {}).hlsSettings || {}, u = this.playerOptions.playerProfile === pn.playerProfile.CUSTOM ? this.customHLSOptions : {};
|
|
65477
65477
|
this.hlsOptions = {
|
|
65478
65478
|
capLevelToPlayerSize: this.playerOptions.capLevelToPlayerSize,
|
|
65479
65479
|
...o,
|
|
@@ -65518,7 +65518,7 @@ class B2 {
|
|
|
65518
65518
|
}
|
|
65519
65519
|
}
|
|
65520
65520
|
async __InitializeDash({ playoutUrl: e, authorizationToken: t, drm: r, drms: i }) {
|
|
65521
|
-
this.Dash = (await import("./dash.all.min-
|
|
65521
|
+
this.Dash = (await import("./dash.all.min-9V1xYBRv.mjs").then((c) => c.d)).default;
|
|
65522
65522
|
const o = this.Dash.MediaPlayer().create(), u = this.playerOptions.dashjsOptions || {};
|
|
65523
65523
|
if (o.updateSettings({
|
|
65524
65524
|
...u,
|
|
@@ -65551,7 +65551,7 @@ class B2 {
|
|
|
65551
65551
|
modifyRequestHeader: (c) => (c.setRequestHeader("Authorization", `Bearer ${t}`), c),
|
|
65552
65552
|
modifyRequestURL: (c) => c
|
|
65553
65553
|
};
|
|
65554
|
-
}), r ===
|
|
65554
|
+
}), r === pn.drms.WIDEVINE) {
|
|
65555
65555
|
const c = i.widevine.licenseServers[0];
|
|
65556
65556
|
o.setProtectionData({
|
|
65557
65557
|
"com.widevine.alpha": {
|
|
@@ -65562,7 +65562,7 @@ class B2 {
|
|
|
65562
65562
|
o.initialize(
|
|
65563
65563
|
this.video,
|
|
65564
65564
|
e.toString(),
|
|
65565
|
-
this.playerOptions.autoplay ===
|
|
65565
|
+
this.playerOptions.autoplay === pn.autoplay.ON
|
|
65566
65566
|
), [
|
|
65567
65567
|
this.Dash.MediaPlayer.events.TRACK_CHANGE_RENDERED,
|
|
65568
65568
|
this.Dash.MediaPlayer.events.QUALITY_CHANGE_RENDERED,
|
|
@@ -65577,7 +65577,7 @@ class B2 {
|
|
|
65577
65577
|
try {
|
|
65578
65578
|
return await this.video.play(), !0;
|
|
65579
65579
|
} catch (e) {
|
|
65580
|
-
if (this.Log("Unable to autoplay", !0), this.Log(e, !0), this.playbackStarted = !1, this.playerOptions.muted ===
|
|
65580
|
+
if (this.Log("Unable to autoplay", !0), this.Log(e, !0), this.playbackStarted = !1, this.playerOptions.muted === pn.muted.OFF_IF_POSSIBLE && this.video.paused && !this.video.muted) {
|
|
65581
65581
|
await new Promise((t) => setTimeout(t, 250)), this.Log("Attempting to autoplay muted"), this.video.muted = !0;
|
|
65582
65582
|
try {
|
|
65583
65583
|
return await this.video.play(), !0;
|
|
@@ -65660,7 +65660,7 @@ class B2 {
|
|
|
65660
65660
|
t ? console.error("ELUVIO PLAYER:", e) : this.playerOptions.debugLogging && console.warn("ELUVIO PLAYER:", e);
|
|
65661
65661
|
}
|
|
65662
65662
|
}
|
|
65663
|
-
B2.EluvioPlayerParameters =
|
|
65663
|
+
B2.EluvioPlayerParameters = pn;
|
|
65664
65664
|
B2.EluvioPlayer = B2;
|
|
65665
65665
|
var Fj = function() {
|
|
65666
65666
|
if (typeof Map < "u")
|
|
@@ -66022,7 +66022,7 @@ const sk = ({ element: n, Hide: e }) => {
|
|
|
66022
66022
|
});
|
|
66023
66023
|
return o.observe(n), () => o.disconnect();
|
|
66024
66024
|
}, Hbe = ({ player: n }) => {
|
|
66025
|
-
const e = n.video, t = n.playerOptions.autoplay ===
|
|
66025
|
+
const e = n.video, t = n.playerOptions.autoplay === pn.autoplay.WHEN_VISIBLE, r = n.playerOptions.muted === pn.muted.WHEN_NOT_VISIBLE;
|
|
66026
66026
|
if (!t && !r)
|
|
66027
66027
|
return;
|
|
66028
66028
|
let i, o;
|
|
@@ -66057,9 +66057,9 @@ const sk = ({ element: n, Hide: e }) => {
|
|
|
66057
66057
|
u.map((p) => n.video.removeEventListener(p, o)), c.map((p) => n.target.removeEventListener(p, o));
|
|
66058
66058
|
};
|
|
66059
66059
|
}, Vbe = ({ player: n, setRecentUserAction: e }) => {
|
|
66060
|
-
if (n.playerOptions.keyboardControls ===
|
|
66060
|
+
if (n.playerOptions.keyboardControls === pn.keyboardControls.OFF)
|
|
66061
66061
|
return;
|
|
66062
|
-
const t = n.playerOptions.keyboardControls ===
|
|
66062
|
+
const t = n.playerOptions.keyboardControls === pn.keyboardControls.ARROW_KEYS_DISABLED, r = Ij(n, e)(), i = (o) => {
|
|
66063
66063
|
if (
|
|
66064
66064
|
// Keyboard controls should only fire if the player is in focus
|
|
66065
66065
|
!(n.target === o.target || n.target.contains(o.target)) || // Ignore keyboard controls if actively focused on a button or input
|
|
@@ -66658,7 +66658,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66658
66658
|
const [e, t] = zt.useState(void 0), { title: r, subtitle: i, description: o, image: u, headers: c } = n.controls.GetContentInfo() || {};
|
|
66659
66659
|
return zt.useEffect(() => {
|
|
66660
66660
|
t(void 0), u && ik({ player: n, pathOrUrl: u, width: 200 }).then((p) => t(p));
|
|
66661
|
-
}, [u]), !r || n.playerOptions.title ===
|
|
66661
|
+
}, [u]), !r || n.playerOptions.title === pn.title.FULLSCREEN_ONLY && !n.controls.IsFullscreen() || n.playerOptions.title === pn.title.OFF ? null : /* @__PURE__ */ $e.jsxs("div", { className: ir["info-container"], children: [
|
|
66662
66662
|
e ? /* @__PURE__ */ $e.jsx("div", { className: ir["info-image-container"], children: /* @__PURE__ */ $e.jsx("img", { src: e, alt: "Image", className: ir["info-image"] }) }) : null,
|
|
66663
66663
|
/* @__PURE__ */ $e.jsxs("div", { className: ir["info-text"], children: [
|
|
66664
66664
|
c.length === 0 ? null : /* @__PURE__ */ $e.jsx("div", { className: ir["info-headers"], children: c.map(
|
|
@@ -66677,7 +66677,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66677
66677
|
return () => O && O();
|
|
66678
66678
|
}, []), !u)
|
|
66679
66679
|
return null;
|
|
66680
|
-
const w = n.controls.GetCollectionInfo(), v = g > 0, C = (O) => m(O ? g + 1 : Math.max(0, g - 1)), T = r || !e || v, R = !T && n.playerOptions.controls ===
|
|
66680
|
+
const w = n.controls.GetCollectionInfo(), v = g > 0, C = (O) => m(O ? g + 1 : Math.max(0, g - 1)), T = r || !e || v, R = !T && n.playerOptions.controls === pn.controls.AUTO_HIDE;
|
|
66681
66681
|
return n.__SetControlsVisibility(!R), /* @__PURE__ */ $e.jsxs(
|
|
66682
66682
|
"div",
|
|
66683
66683
|
{
|
|
@@ -66686,16 +66686,16 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66686
66686
|
o,
|
|
66687
66687
|
ir.container,
|
|
66688
66688
|
T ? "" : ir.autohide,
|
|
66689
|
-
n.playerOptions.controls !==
|
|
66689
|
+
n.playerOptions.controls !== pn.controls.DEFAULT ? "" : ir["container--default-controls"],
|
|
66690
66690
|
v ? "menu-active" : ""
|
|
66691
66691
|
].join(" "),
|
|
66692
66692
|
children: [
|
|
66693
66693
|
/* @__PURE__ */ $e.jsx(_ve, { player: n }, `content-info-${w && w.mediaIndex}`),
|
|
66694
66694
|
// Main bottom control bar
|
|
66695
66695
|
[
|
|
66696
|
-
|
|
66697
|
-
|
|
66698
|
-
|
|
66696
|
+
pn.controls.DEFAULT,
|
|
66697
|
+
pn.controls.OFF,
|
|
66698
|
+
pn.controls.OFF_WITH_VOLUME_TOGGLE
|
|
66699
66699
|
].includes(n.playerOptions.controls) ? null : /* @__PURE__ */ $e.jsxs($e.Fragment, { children: [
|
|
66700
66700
|
/* @__PURE__ */ $e.jsx(
|
|
66701
66701
|
gf,
|
|
@@ -66766,7 +66766,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66766
66766
|
] })
|
|
66767
66767
|
] }),
|
|
66768
66768
|
// Floating volume control for 'off with volume toggle' setting
|
|
66769
|
-
n.playerOptions.controls !==
|
|
66769
|
+
n.playerOptions.controls !== pn.controls.OFF_WITH_VOLUME_TOGGLE ? null : /* @__PURE__ */ $e.jsx("div", { className: ir["floating-volume-toggle"], children: /* @__PURE__ */ $e.jsx(
|
|
66770
66770
|
gf,
|
|
66771
66771
|
{
|
|
66772
66772
|
"aria-label": u.muted ? "Unmute" : "Mute",
|
|
@@ -66777,7 +66777,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
66777
66777
|
"mute-button"
|
|
66778
66778
|
) }),
|
|
66779
66779
|
// Watermark
|
|
66780
|
-
n.playerOptions.watermark ===
|
|
66780
|
+
n.playerOptions.watermark === pn.watermark.OFF ? null : /* @__PURE__ */ $e.jsx("div", { className: ir.watermark, children: /* @__PURE__ */ $e.jsx("img", { src: Jj, alt: "Eluvio" }) })
|
|
66781
66781
|
]
|
|
66782
66782
|
}
|
|
66783
66783
|
);
|
|
@@ -67083,7 +67083,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67083
67083
|
return () => I && I();
|
|
67084
67084
|
}, []), !u)
|
|
67085
67085
|
return null;
|
|
67086
|
-
const { title: C } = n.controls.GetContentInfo() || {}, T = n.controls.GetCollectionInfo(), R = r || !e || g, O = !R && n.playerOptions.controls ===
|
|
67086
|
+
const { title: C } = n.controls.GetContentInfo() || {}, T = n.controls.GetCollectionInfo(), R = r || !e || g, O = !R && n.playerOptions.controls === pn.controls.AUTO_HIDE;
|
|
67087
67087
|
return n.__SetControlsVisibility(!O), /* @__PURE__ */ $e.jsxs(
|
|
67088
67088
|
"div",
|
|
67089
67089
|
{
|
|
@@ -67092,7 +67092,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67092
67092
|
o,
|
|
67093
67093
|
yn.container,
|
|
67094
67094
|
R ? "" : yn.autohide,
|
|
67095
|
-
n.playerOptions.controls !==
|
|
67095
|
+
n.playerOptions.controls !== pn.controls.DEFAULT ? "" : yn["container--default-controls"],
|
|
67096
67096
|
g ? "menu-active" : ""
|
|
67097
67097
|
].join(" "),
|
|
67098
67098
|
children: [
|
|
@@ -67111,7 +67111,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67111
67111
|
w ? /* @__PURE__ */ $e.jsx(jve, { player: n, Hide: () => v(!1) }) : /* @__PURE__ */ $e.jsxs("div", { className: `${yn["bottom-controls-container"]} ${O ? yn["bottom-controls-container--autohide"] : ""}`, children: [
|
|
67112
67112
|
/* @__PURE__ */ $e.jsx("div", { className: yn["bottom-controls-gradient"] }),
|
|
67113
67113
|
/* @__PURE__ */ $e.jsxs("div", { className: yn["title-container"], children: [
|
|
67114
|
-
/* @__PURE__ */ $e.jsx("div", { className: yn.title, children: n.playerOptions.title ===
|
|
67114
|
+
/* @__PURE__ */ $e.jsx("div", { className: yn.title, children: n.playerOptions.title === pn.title.OFF || n.playerOptions.title === pn.title.FULLSCREEN_ONLY && !n.controls.IsFullscreen() ? "" : C || "" }),
|
|
67115
67115
|
/* @__PURE__ */ $e.jsx("div", { className: yn.spacer }),
|
|
67116
67116
|
n.isLive ? /* @__PURE__ */ $e.jsx("div", { className: yn["live-indicator"], children: "Live" }) : null,
|
|
67117
67117
|
T ? /* @__PURE__ */ $e.jsx(
|
|
@@ -67128,7 +67128,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67128
67128
|
/* @__PURE__ */ $e.jsx(Qj, { player: n, videoState: u, setRecentUserAction: i }),
|
|
67129
67129
|
/* @__PURE__ */ $e.jsx(Bve, { player: n, videoState: u }),
|
|
67130
67130
|
/* @__PURE__ */ $e.jsxs("div", { className: yn["bottom-controls"], children: [
|
|
67131
|
-
/* @__PURE__ */ $e.jsx("div", { className: yn["bottom-left-controls"], children: !C || n.playerOptions.title ===
|
|
67131
|
+
/* @__PURE__ */ $e.jsx("div", { className: yn["bottom-left-controls"], children: !C || n.playerOptions.title === pn.title.OFF ? null : /* @__PURE__ */ $e.jsx("button", { className: yn["text-button"], onClick: () => v(!0), children: "Info" }) }),
|
|
67132
67132
|
/* @__PURE__ */ $e.jsx(zve, { player: n, videoState: u }),
|
|
67133
67133
|
/* @__PURE__ */ $e.jsx("div", { className: yn["bottom-right-controls"], children: n.controls.GetOptions().hasAnyOptions ? /* @__PURE__ */ $e.jsx(
|
|
67134
67134
|
VI,
|
|
@@ -67144,7 +67144,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67144
67144
|
] })
|
|
67145
67145
|
] }),
|
|
67146
67146
|
// Watermark
|
|
67147
|
-
n.playerOptions.watermark ===
|
|
67147
|
+
n.playerOptions.watermark === pn.watermark.OFF ? null : /* @__PURE__ */ $e.jsx("div", { className: yn.watermark, children: /* @__PURE__ */ $e.jsx("img", { src: Jj, alt: "Eluvio" }) })
|
|
67148
67148
|
]
|
|
67149
67149
|
},
|
|
67150
67150
|
"controls"
|
|
@@ -67326,7 +67326,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67326
67326
|
onComplete: (M) => h(M)
|
|
67327
67327
|
}
|
|
67328
67328
|
);
|
|
67329
|
-
const P = u && u.controls.IsRotatable() && U;
|
|
67329
|
+
const P = e.playerOptions.ui === pn.ui.WEB && u && u.controls.IsRotatable() && U;
|
|
67330
67330
|
return /* @__PURE__ */ $e.jsxs(
|
|
67331
67331
|
"div",
|
|
67332
67332
|
{
|
|
@@ -67347,16 +67347,16 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67347
67347
|
playsInline: !0,
|
|
67348
67348
|
disablePictureInPicture: !0,
|
|
67349
67349
|
ref: z,
|
|
67350
|
-
muted: [
|
|
67351
|
-
controls: e.playerOptions.controls ===
|
|
67352
|
-
loop: e.playerOptions.loop ===
|
|
67350
|
+
muted: [pn.muted.ON, pn.muted.WHEN_NOT_VISIBLE].includes(e.playerOptions.muted),
|
|
67351
|
+
controls: e.playerOptions.controls === pn.controls.DEFAULT,
|
|
67352
|
+
loop: e.playerOptions.loop === pn.loop.ON,
|
|
67353
67353
|
className: Vl.video
|
|
67354
67354
|
}
|
|
67355
67355
|
),
|
|
67356
67356
|
!u || K || !pe ? null : /* @__PURE__ */ $e.jsx(Xve, { player: u }),
|
|
67357
67357
|
I || R ? null : /* @__PURE__ */ $e.jsx("div", { className: Vl["spinner-container"], children: /* @__PURE__ */ $e.jsx(H2, { className: Vl.spinner }) }),
|
|
67358
67358
|
R ? /* @__PURE__ */ $e.jsx("div", { className: Vl["error-message"], children: R }) : null,
|
|
67359
|
-
u ? e.playerOptions.ui ===
|
|
67359
|
+
u ? e.playerOptions.ui === pn.ui.WEB ? /* @__PURE__ */ $e.jsx(
|
|
67360
67360
|
Sve,
|
|
67361
67361
|
{
|
|
67362
67362
|
player: u,
|
|
@@ -67420,7 +67420,7 @@ const Jj = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAW0AAABSCAYAAACfWoXuAA
|
|
|
67420
67420
|
}));
|
|
67421
67421
|
export {
|
|
67422
67422
|
y1e as I,
|
|
67423
|
-
|
|
67423
|
+
pn as P,
|
|
67424
67424
|
V2 as a,
|
|
67425
67425
|
si as b,
|
|
67426
67426
|
yK as c,
|