@halibegic/react-video-player 0.0.51 → 0.0.52
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/react-video-player.es.js +7 -14
- package/dist/react-video-player.es.js.map +1 -1
- package/dist/react-video-player.umd.js +4 -4
- package/dist/react-video-player.umd.js.map +1 -1
- package/dist/src/components/live-player/live-player-activity-listener.d.ts +1 -1
- package/dist/src/components/vod-player/vod-player-activity-listener.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1228,7 +1228,7 @@ const f = (e) => {
|
|
|
1228
1228
|
if (!t)
|
|
1229
1229
|
throw new Error("usePlayerStore must be used within PlayerStoreProvider");
|
|
1230
1230
|
return Dt(t, e);
|
|
1231
|
-
}, _r = "0.0.
|
|
1231
|
+
}, _r = "0.0.52", Je = {
|
|
1232
1232
|
version: _r
|
|
1233
1233
|
}, Ye = 11e3, Ze = {
|
|
1234
1234
|
DEBUG: 2,
|
|
@@ -1350,16 +1350,16 @@ function Kt(e) {
|
|
|
1350
1350
|
}
|
|
1351
1351
|
}
|
|
1352
1352
|
function Cr({ url: e }) {
|
|
1353
|
-
const { video_id: t } = Kt(e), n = $((
|
|
1354
|
-
return /* @__PURE__ */ a.jsx(
|
|
1353
|
+
const { video_id: t } = Kt(e), n = $((s) => s.delay), r = t ? Number(t) : void 0;
|
|
1354
|
+
return r ? /* @__PURE__ */ a.jsx(
|
|
1355
1355
|
Yt,
|
|
1356
1356
|
{
|
|
1357
1357
|
kind: n ? "catchup" : "live",
|
|
1358
1358
|
delay: n,
|
|
1359
1359
|
url: e,
|
|
1360
|
-
id:
|
|
1360
|
+
id: r
|
|
1361
1361
|
}
|
|
1362
|
-
);
|
|
1362
|
+
) : null;
|
|
1363
1363
|
}
|
|
1364
1364
|
const Er = "_playerNotice_x3acc_1", Sr = "_playerNoticeTitle_x3acc_19", Rr = "_playerNoticeText_x3acc_28", br = "_playerNoticeLowZIndex_x3acc_37", ie = {
|
|
1365
1365
|
playerNotice: Er,
|
|
@@ -2634,15 +2634,8 @@ function gi() {
|
|
|
2634
2634
|
] });
|
|
2635
2635
|
}
|
|
2636
2636
|
function wi({ url: e }) {
|
|
2637
|
-
const { video_id: t } = Kt(e);
|
|
2638
|
-
return /* @__PURE__ */ a.jsx(
|
|
2639
|
-
Yt,
|
|
2640
|
-
{
|
|
2641
|
-
kind: "vod",
|
|
2642
|
-
url: e,
|
|
2643
|
-
id: t ? Number(t) : void 0
|
|
2644
|
-
}
|
|
2645
|
-
);
|
|
2637
|
+
const { video_id: t } = Kt(e), n = t ? Number(t) : void 0;
|
|
2638
|
+
return n ? /* @__PURE__ */ a.jsx(Yt, { kind: "vod", url: e, id: n }) : null;
|
|
2646
2639
|
}
|
|
2647
2640
|
function _i({ callback: e }) {
|
|
2648
2641
|
const t = f((n) => n.eventEmitter);
|