suada-components 1.6.0 → 1.8.0
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/components/{DailyMotion-Cyo9mQyt.js → DailyMotion-SZKPSpD1.js} +1 -1
- package/dist/components/{DailyMotion-MzOn9ju_.esm.js → DailyMotion-jrl4eEA1.esm.js} +1 -1
- package/dist/components/{Facebook-CPs-Ms_X.js → Facebook-DS0ye_bL.js} +1 -1
- package/dist/components/{Facebook-CJbuSY04.esm.js → Facebook-Ha24RKIX.esm.js} +1 -1
- package/dist/components/{FilePlayer-DNH6fpJi.js → FilePlayer-B4_DDZXQ.js} +1 -1
- package/dist/components/{FilePlayer-CQvxGYWG.esm.js → FilePlayer-D-n083nK.esm.js} +1 -1
- package/dist/components/{Kaltura-UmIP8SbX.esm.js → Kaltura-BlDrsjbp.esm.js} +1 -1
- package/dist/components/{Kaltura-CyreQk0X.js → Kaltura-DAMolg_c.js} +1 -1
- package/dist/components/{Mixcloud-CIGHRTPD.esm.js → Mixcloud-B5AIgf8e.esm.js} +1 -1
- package/dist/components/{Mixcloud-DJ_299OT.js → Mixcloud-C1z9BVJ8.js} +1 -1
- package/dist/components/{Mux-BWxS553y.js → Mux-Bgsc5vvM.js} +1 -1
- package/dist/components/{Mux-CPaUZQah.esm.js → Mux-f77ctQXE.esm.js} +1 -1
- package/dist/components/{Preview-BO_4FDai.js → Preview-CKXk6Axz.js} +1 -1
- package/dist/components/{Preview-CMj6CzdF.esm.js → Preview-DhMMn7e2.esm.js} +1 -1
- package/dist/components/{SoundCloud-CWfPIUXj.js → SoundCloud-DHLHmaaB.js} +1 -1
- package/dist/components/{SoundCloud-CFXXBy2Z.esm.js → SoundCloud-DyYFhGe5.esm.js} +1 -1
- package/dist/components/{Streamable-DrNjqXjt.esm.js → Streamable-BBygdIqb.esm.js} +1 -1
- package/dist/components/{Streamable-Dqtzhuip.js → Streamable-BDhbB3m3.js} +1 -1
- package/dist/components/{Twitch-DjgALZAq.esm.js → Twitch-CAbFCb5f.esm.js} +1 -1
- package/dist/components/{Twitch-CJuQ6-kx.js → Twitch-ZG7WuoXD.js} +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.interface.d.ts +3 -0
- package/dist/components/VideoPlayer/Controls/Controls.js +7 -7
- package/dist/components/VideoPlayer/Controls/Controls.js.map +1 -1
- package/dist/components/VideoPlayer/Controls/Controls.styles.d.ts +24 -7
- package/dist/components/VideoPlayer/Controls/Controls.styles.js +20 -15
- package/dist/components/VideoPlayer/Controls/Controls.styles.js.map +1 -1
- package/dist/components/VideoPlayer/Player.d.ts +1 -1
- package/dist/components/VideoPlayer/Player.interface.d.ts +3 -0
- package/dist/components/VideoPlayer/Player.js +4 -4
- package/dist/components/VideoPlayer/Player.js.map +1 -1
- package/dist/components/VideoPlayer/VideoPlayer.stories.d.ts +1 -0
- package/dist/components/VideoPlayer/VideoPlayer.stories.js +11 -0
- package/dist/components/VideoPlayer/VideoPlayer.stories.js.map +1 -1
- package/dist/components/VideoPlayer/usePlayerControls.js +78 -5
- package/dist/components/VideoPlayer/usePlayerControls.js.map +1 -1
- package/dist/components/{Vidyard-M-vpaxMt.esm.js → Vidyard-BsU5Ayr6.esm.js} +1 -1
- package/dist/components/{Vidyard-BkuV0Ftd.js → Vidyard-CkSCnLg5.js} +1 -1
- package/dist/components/{Vimeo-0VVg6nMH.esm.js → Vimeo-4uslT7bX.esm.js} +1 -1
- package/dist/components/{Vimeo-BCG247ek.js → Vimeo-DKpnTiZ8.js} +1 -1
- package/dist/components/{Wistia-CEi72MTW.esm.js → Wistia-BxvIPVO7.esm.js} +1 -1
- package/dist/components/{Wistia-D2KJJODu.js → Wistia-DKdMEz2a.js} +1 -1
- package/dist/components/{YouTube-kQuElqJG.esm.js → YouTube-Cd4b1iuA.esm.js} +1 -1
- package/dist/components/{YouTube-Bko04PXB.js → YouTube-JSWV2_hs.js} +1 -1
- package/dist/components/components/VideoPlayer/Controls/Controls.interface.d.ts +3 -0
- package/dist/components/components/VideoPlayer/Controls/Controls.styles.d.ts +24 -7
- package/dist/components/components/VideoPlayer/Player.d.ts +1 -1
- package/dist/components/components/VideoPlayer/Player.interface.d.ts +3 -0
- package/dist/components/icons/PictureInPicture.d.ts +3 -0
- package/dist/components/icons/index.d.ts +1 -0
- package/dist/components/{index-BYbdvIBD.esm.js → index-BTR541gv.esm.js} +204 -82
- package/dist/components/{index-Cb05_mlX.js → index-XiB9Yp2-.js} +204 -82
- package/dist/components/index.esm.js +1 -1
- package/dist/icons/PictureInPicture.d.ts +3 -0
- package/dist/icons/PictureInPicture.js +28 -0
- package/dist/icons/PictureInPicture.js.map +1 -0
- package/dist/icons/components/VideoPlayer/Controls/Controls.interface.d.ts +3 -0
- package/dist/icons/components/VideoPlayer/Controls/Controls.styles.d.ts +24 -7
- package/dist/icons/components/VideoPlayer/Player.d.ts +1 -1
- package/dist/icons/components/VideoPlayer/Player.interface.d.ts +3 -0
- package/dist/icons/icons/PictureInPicture.d.ts +3 -0
- package/dist/icons/icons/index.d.ts +1 -0
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.esm.js +21 -1
- package/dist/icons/index.js +1 -0
- package/dist/icons/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -32376,8 +32376,8 @@ var CourseStatusContainer = dt.div(templateObject_13$2 || (templateObject_13$2 =
|
|
|
32376
32376
|
return !$status ? '#EA382A' : '#00905E';
|
|
32377
32377
|
});
|
|
32378
32378
|
dt.div(templateObject_14$2 || (templateObject_14$2 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n div {\n font-size: 13px;\n }\n"])));
|
|
32379
|
-
var TooltipContent = dt.div(templateObject_15$
|
|
32380
|
-
var StyledCardBottomContainer = dt.div(templateObject_16$
|
|
32379
|
+
var TooltipContent = dt.div(templateObject_15$2 || (templateObject_15$2 = __makeTemplateObject(["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"], ["\n display: flex;\n flex-direction: column;\n align-items: center;\n & > :first-child {\n font-size: 14px;\n margin-bottom: 5px;\n }\n div {\n font-size: 14px;\n display: flex;\n flex-direction: column;\n align-items: center;\n\n & > .tooltip-text {\n font-size: 12px;\n margin-top: 5px;\n text-align: center;\n }\n }\n"])));
|
|
32380
|
+
var StyledCardBottomContainer = dt.div(templateObject_16$2 || (templateObject_16$2 = __makeTemplateObject(["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"], ["\n display: flex;\n width: 100%;\n flex-direction: column !important;\n align-self: flex-end;\n gap: 10px;\n padding-bottom: 10px;\n"])));
|
|
32381
32381
|
var StyledActionsContainer = dt.div(templateObject_17$1 || (templateObject_17$1 = __makeTemplateObject(["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"], ["\n display: flex;\n flex-direction: row !important;\n width: 100%;\n"])));
|
|
32382
32382
|
var StyledActionItem = dt.span(templateObject_18$1 || (templateObject_18$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n height: 14px;\n cursor: ", ";\n color: ", ";\n font-size: 14px;\n padding-bottom: 10px;\n width: 100%;\n justify-content: center;\n gap: 8px;\n padding: 12px 4px;\n svg path {\n fill: ", ";\n width: 16px;\n height: 16px;\n }\n svg {\n width: 16px;\n height: 16px;\n }\n &:hover {\n color: ", ";\n svg path {\n fill: ", ";\n }\n }\n"], ["\n display: flex;\n align-items: center;\n height: 14px;\n cursor: ", ";\n color: ", ";\n font-size: 14px;\n padding-bottom: 10px;\n width: 100%;\n justify-content: center;\n gap: 8px;\n padding: 12px 4px;\n svg path {\n fill: ", ";\n width: 16px;\n height: 16px;\n }\n svg {\n width: 16px;\n height: 16px;\n }\n &:hover {\n color: ", ";\n svg path {\n fill: ", ";\n }\n }\n"])), function (_a) {
|
|
32383
32383
|
var disabled = _a.disabled;
|
|
@@ -32426,7 +32426,7 @@ var GridItem = dt.div(templateObject_32 || (templateObject_32 = __makeTemplateOb
|
|
|
32426
32426
|
var $isFromUser = _a.$isFromUser;
|
|
32427
32427
|
return $isFromUser && "\n figure {\n position: relative;\n &:after {\n content: 'View Analytics';\n position: absolute;\n top: 0;\n opacity: 0;\n color: #06c68f;\n left: 0;\n font-size: 24px;\n font-weight: 700;\n display: flex;\n align-items: center;\n justify-content: center;\n background: rgba(255, 255, 255, 0.9);\n width: 100%;\n height: 100%;\n transition: opacity 0.3s ease;\n z-index: 10;\n }\n }\n\n &:hover {\n figure {\n &:after {\n opacity: 1;\n }\n }\n }\n " || '';
|
|
32428
32428
|
});
|
|
32429
|
-
var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$
|
|
32429
|
+
var templateObject_1$o, templateObject_2$j, templateObject_3$f, templateObject_4$c, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$4, templateObject_9$3, templateObject_10$2, templateObject_11$2, templateObject_12$2, templateObject_13$2, templateObject_14$2, templateObject_15$2, templateObject_16$2, templateObject_17$1, templateObject_18$1, templateObject_19$1, templateObject_20$1, templateObject_21$1, templateObject_22$1, templateObject_23$1, templateObject_24, templateObject_25, templateObject_26, templateObject_27, templateObject_28, templateObject_29, templateObject_30, templateObject_31, templateObject_32;
|
|
32430
32430
|
|
|
32431
32431
|
var TooltipHeight$1 = function TooltipHeight(_a) {
|
|
32432
32432
|
var text = _a.text,
|
|
@@ -37508,6 +37508,26 @@ var OndemandVideoIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
37508
37508
|
});
|
|
37509
37509
|
OndemandVideoIcon.displayName = 'OndemandVideoIcon';
|
|
37510
37510
|
|
|
37511
|
+
var PictureInPictureIcon = function PictureInPictureIcon(_a) {
|
|
37512
|
+
var className = _a.className,
|
|
37513
|
+
onClick = _a.onClick,
|
|
37514
|
+
props = __rest(_a, ["className", "onClick"]);
|
|
37515
|
+
return jsxRuntimeExports.jsx("svg", __assign({
|
|
37516
|
+
width: '24',
|
|
37517
|
+
height: '24',
|
|
37518
|
+
viewBox: '0 0 24 24',
|
|
37519
|
+
fill: 'none',
|
|
37520
|
+
xmlns: 'http://www.w3.org/2000/svg',
|
|
37521
|
+
className: className,
|
|
37522
|
+
onClick: onClick
|
|
37523
|
+
}, props, {
|
|
37524
|
+
children: jsxRuntimeExports.jsx("path", {
|
|
37525
|
+
d: 'M19 7H22V17C22 18.1 21.1 19 20 19H4C2.9 19 2 18.1 2 17V7C2 5.9 2.9 5 4 5H17V7H4V17H13V15H20V7H19ZM15 13H22V7H15V13Z',
|
|
37526
|
+
fill: 'white'
|
|
37527
|
+
})
|
|
37528
|
+
}));
|
|
37529
|
+
};
|
|
37530
|
+
|
|
37511
37531
|
var PublishIcon = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
37512
37532
|
var className = _a.className,
|
|
37513
37533
|
onClick = _a.onClick,
|
|
@@ -42790,8 +42810,8 @@ var CancelButton = dt.div(templateObject_11$1 || (templateObject_11$1 = __makeTe
|
|
|
42790
42810
|
var InputFileContainer = dt.div(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"], ["\n position: relative;\n display: flex;\n justify-content: center;\n align-items: center;\n /* input {\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n top: 0;\n overflow: hidden;\n }\n\n &label {\n width: 85%;\n height: 100%;\n cursor: pointer;\n } */\n"])));
|
|
42791
42811
|
var UploadInput = dt.input(templateObject_13$1 || (templateObject_13$1 = __makeTemplateObject(["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"], ["\n opacity: 0;\n position: absolute;\n z-index: -1;\n left: 0;\n width: 0;\n top: 0;\n overflow: hidden;\n"])));
|
|
42792
42812
|
dt.div(templateObject_14$1 || (templateObject_14$1 = __makeTemplateObject(["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"], ["\n position: absolute;\n left: 0px;\n top: -15px;\n background: #fff;\n font-size: 12px;\n color: rgba(0, 0, 0, 0.54);\n"])));
|
|
42793
|
-
var ImagePlaceholder = dt.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"], ["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
|
|
42794
|
-
var InputLabel = dt.label(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n cursor: pointer;\n color: #fff;\n background: #06c68f;\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n cursor: pointer;\n color: #fff;\n background: #06c68f;\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
42813
|
+
var ImagePlaceholder = dt.div(templateObject_15$1 || (templateObject_15$1 = __makeTemplateObject(["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"], ["\n img {\n position: relative;\n width: 72px;\n height: 48px;\n border-radius: 4px;\n padding: 4px;\n top: 2px;\n }\n"])));
|
|
42814
|
+
var InputLabel = dt.label(templateObject_16$1 || (templateObject_16$1 = __makeTemplateObject(["\n cursor: pointer;\n color: #fff;\n background: #06c68f;\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"], ["\n cursor: pointer;\n color: #fff;\n background: #06c68f;\n font-size: 11px;\n padding: 9px 6px;\n border-radius: 4px;\n display: flex;\n align-items: center;\n justify-content: center;\n"
|
|
42795
42815
|
// UploaderButton
|
|
42796
42816
|
])));
|
|
42797
42817
|
// UploaderButton
|
|
@@ -42813,7 +42833,7 @@ var styles$1 = {
|
|
|
42813
42833
|
padding: '4px'
|
|
42814
42834
|
}
|
|
42815
42835
|
};
|
|
42816
|
-
var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15, templateObject_16, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23;
|
|
42836
|
+
var templateObject_1$j, templateObject_2$e, templateObject_3$a, templateObject_4$7, templateObject_5$6, templateObject_6$5, templateObject_7$3, templateObject_8$2, templateObject_9$1, templateObject_10$1, templateObject_11$1, templateObject_12$1, templateObject_13$1, templateObject_14$1, templateObject_15$1, templateObject_16$1, templateObject_17, templateObject_18, templateObject_19, templateObject_20, templateObject_21, templateObject_22, templateObject_23;
|
|
42817
42837
|
|
|
42818
42838
|
var ImageWithFallback = function ImageWithFallback(_a) {
|
|
42819
42839
|
var src = _a.src,
|
|
@@ -81335,7 +81355,7 @@ function requirePlayers () {
|
|
|
81335
81355
|
canPlay: import_patterns.canPlay.youtube,
|
|
81336
81356
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81337
81357
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
81338
|
-
'./YouTube-
|
|
81358
|
+
'./YouTube-Cd4b1iuA.esm.js'
|
|
81339
81359
|
).then(function (n) { return n.Y; }))
|
|
81340
81360
|
},
|
|
81341
81361
|
{
|
|
@@ -81344,7 +81364,7 @@ function requirePlayers () {
|
|
|
81344
81364
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
81345
81365
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81346
81366
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
81347
|
-
'./SoundCloud-
|
|
81367
|
+
'./SoundCloud-DyYFhGe5.esm.js'
|
|
81348
81368
|
).then(function (n) { return n.S; }))
|
|
81349
81369
|
},
|
|
81350
81370
|
{
|
|
@@ -81353,7 +81373,7 @@ function requirePlayers () {
|
|
|
81353
81373
|
canPlay: import_patterns.canPlay.vimeo,
|
|
81354
81374
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81355
81375
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
81356
|
-
'./Vimeo-
|
|
81376
|
+
'./Vimeo-4uslT7bX.esm.js'
|
|
81357
81377
|
).then(function (n) { return n.V; }))
|
|
81358
81378
|
},
|
|
81359
81379
|
{
|
|
@@ -81362,7 +81382,7 @@ function requirePlayers () {
|
|
|
81362
81382
|
canPlay: import_patterns.canPlay.mux,
|
|
81363
81383
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81364
81384
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
81365
|
-
'./Mux-
|
|
81385
|
+
'./Mux-f77ctQXE.esm.js'
|
|
81366
81386
|
).then(function (n) { return n.M; }))
|
|
81367
81387
|
},
|
|
81368
81388
|
{
|
|
@@ -81371,7 +81391,7 @@ function requirePlayers () {
|
|
|
81371
81391
|
canPlay: import_patterns.canPlay.facebook,
|
|
81372
81392
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81373
81393
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
81374
|
-
'./Facebook-
|
|
81394
|
+
'./Facebook-Ha24RKIX.esm.js'
|
|
81375
81395
|
).then(function (n) { return n.F; }))
|
|
81376
81396
|
},
|
|
81377
81397
|
{
|
|
@@ -81380,7 +81400,7 @@ function requirePlayers () {
|
|
|
81380
81400
|
canPlay: import_patterns.canPlay.streamable,
|
|
81381
81401
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81382
81402
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
81383
|
-
'./Streamable-
|
|
81403
|
+
'./Streamable-BBygdIqb.esm.js'
|
|
81384
81404
|
).then(function (n) { return n.S; }))
|
|
81385
81405
|
},
|
|
81386
81406
|
{
|
|
@@ -81389,7 +81409,7 @@ function requirePlayers () {
|
|
|
81389
81409
|
canPlay: import_patterns.canPlay.wistia,
|
|
81390
81410
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81391
81411
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
81392
|
-
'./Wistia-
|
|
81412
|
+
'./Wistia-BxvIPVO7.esm.js'
|
|
81393
81413
|
).then(function (n) { return n.W; }))
|
|
81394
81414
|
},
|
|
81395
81415
|
{
|
|
@@ -81398,7 +81418,7 @@ function requirePlayers () {
|
|
|
81398
81418
|
canPlay: import_patterns.canPlay.twitch,
|
|
81399
81419
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81400
81420
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
81401
|
-
'./Twitch-
|
|
81421
|
+
'./Twitch-CAbFCb5f.esm.js'
|
|
81402
81422
|
).then(function (n) { return n.T; }))
|
|
81403
81423
|
},
|
|
81404
81424
|
{
|
|
@@ -81407,7 +81427,7 @@ function requirePlayers () {
|
|
|
81407
81427
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
81408
81428
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81409
81429
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
81410
|
-
'./DailyMotion-
|
|
81430
|
+
'./DailyMotion-jrl4eEA1.esm.js'
|
|
81411
81431
|
).then(function (n) { return n.D; }))
|
|
81412
81432
|
},
|
|
81413
81433
|
{
|
|
@@ -81416,7 +81436,7 @@ function requirePlayers () {
|
|
|
81416
81436
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
81417
81437
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81418
81438
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
81419
|
-
'./Mixcloud-
|
|
81439
|
+
'./Mixcloud-B5AIgf8e.esm.js'
|
|
81420
81440
|
).then(function (n) { return n.M; }))
|
|
81421
81441
|
},
|
|
81422
81442
|
{
|
|
@@ -81425,7 +81445,7 @@ function requirePlayers () {
|
|
|
81425
81445
|
canPlay: import_patterns.canPlay.vidyard,
|
|
81426
81446
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81427
81447
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
81428
|
-
'./Vidyard-
|
|
81448
|
+
'./Vidyard-BsU5Ayr6.esm.js'
|
|
81429
81449
|
).then(function (n) { return n.V; }))
|
|
81430
81450
|
},
|
|
81431
81451
|
{
|
|
@@ -81434,7 +81454,7 @@ function requirePlayers () {
|
|
|
81434
81454
|
canPlay: import_patterns.canPlay.kaltura,
|
|
81435
81455
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81436
81456
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
81437
|
-
'./Kaltura-
|
|
81457
|
+
'./Kaltura-BlDrsjbp.esm.js'
|
|
81438
81458
|
).then(function (n) { return n.K; }))
|
|
81439
81459
|
},
|
|
81440
81460
|
{
|
|
@@ -81446,7 +81466,7 @@ function requirePlayers () {
|
|
|
81446
81466
|
},
|
|
81447
81467
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
81448
81468
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
81449
|
-
'./FilePlayer-
|
|
81469
|
+
'./FilePlayer-D-n083nK.esm.js'
|
|
81450
81470
|
).then(function (n) { return n.F; }))
|
|
81451
81471
|
}
|
|
81452
81472
|
];
|
|
@@ -82267,7 +82287,7 @@ function requireReactPlayer () {
|
|
|
82267
82287
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
82268
82288
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
82269
82289
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
82270
|
-
'./Preview-
|
|
82290
|
+
'./Preview-DhMMn7e2.esm.js'
|
|
82271
82291
|
).then(function (n) { return n.P; }));
|
|
82272
82292
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
82273
82293
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -82509,31 +82529,36 @@ var injectHLSSubtitleStyles = function injectHLSSubtitleStyles() {
|
|
|
82509
82529
|
};
|
|
82510
82530
|
var templateObject_1$9, templateObject_2$7, templateObject_3$4, templateObject_4$2, templateObject_5$2, templateObject_6$2, templateObject_7$1;
|
|
82511
82531
|
|
|
82512
|
-
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n\n svg {\n cursor: pointer;\n\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px;\n height: 16px;\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), {
|
|
82532
|
+
var StyledControls = dt.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n /* Responsive padding adjustments */\n @media screen and (max-width: 768px) {\n padding: 8px 12px;\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n padding: 6px 8px;\n gap: 8px;\n }\n\n svg {\n cursor: pointer;\n transition: transform 0.2s ease;\n\n /* Desktop and large screens */\n @media screen and (min-width: 1501px) {\n width: 24px;\n height: 24px;\n }\n\n /* Medium to large screens */\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n /* Small to medium screens */\n @media screen and (max-width: 1000px) {\n width: 18px;\n height: 18px;\n }\n\n /* Tablet screens */\n @media screen and (max-width: 768px) {\n width: 20px;\n height: 20px;\n }\n\n /* Mobile screens */\n @media screen and (max-width: 480px) {\n width: 18px;\n height: 18px;\n }\n\n /* Very small mobile screens */\n @media screen and (max-width: 320px) {\n width: 16px;\n height: 16px;\n }\n\n &:hover {\n transform: scale(1.1);\n }\n\n &:active {\n transform: scale(0.95);\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: space-between;\n gap: 16px;\n width: 100%;\n border-radius: 0px 0px 8px 8px;\n background: rgba(86, 90, 98, 0.6);\n backdrop-filter: blur(4px);\n padding: 12px 16px;\n position: relative;\n opacity: 0.8;\n\n /* Responsive padding adjustments */\n @media screen and (max-width: 768px) {\n padding: 8px 12px;\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n padding: 6px 8px;\n gap: 8px;\n }\n\n svg {\n cursor: pointer;\n transition: transform 0.2s ease;\n\n /* Desktop and large screens */\n @media screen and (min-width: 1501px) {\n width: 24px;\n height: 24px;\n }\n\n /* Medium to large screens */\n @media screen and (max-width: 1500px) {\n width: 20px;\n height: 20px;\n }\n\n /* Small to medium screens */\n @media screen and (max-width: 1000px) {\n width: 18px;\n height: 18px;\n }\n\n /* Tablet screens */\n @media screen and (max-width: 768px) {\n width: 20px;\n height: 20px;\n }\n\n /* Mobile screens */\n @media screen and (max-width: 480px) {\n width: 18px;\n height: 18px;\n }\n\n /* Very small mobile screens */\n @media screen and (max-width: 320px) {\n width: 16px;\n height: 16px;\n }\n\n &:hover {\n transform: scale(1.1);\n }\n\n &:active {\n transform: scale(0.95);\n }\n }\n\n & > p {\n color: var(--neutral-colors-light);\n font-family: 'Poppins', sans-serif;\n ", "\n }\n"])), {
|
|
82513
82533
|
fontStyle: 'descriptor'
|
|
82514
82534
|
});
|
|
82515
|
-
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"], ["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n }\n"])), function (_a) {
|
|
82535
|
+
var StyledSlider = dt.input(templateObject_2$6 || (templateObject_2$6 = __makeTemplateObject(["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n /* Enhanced mobile touch target */\n @media (hover: none) and (pointer: coarse) {\n height: 4px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n border: none;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n /* Enhance visibility on focus for accessibility */\n &:focus {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"], ["\n width: 100%;\n height: 2px;\n border-radius: 5px;\n position: absolute;\n top: 0;\n left: 0;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n\n /* Enhanced mobile touch target */\n @media (hover: none) and (pointer: coarse) {\n height: 4px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--brand-colors-accent);\n cursor: pointer;\n border: none;\n\n /* Larger touch target for mobile */\n @media (hover: none) and (pointer: coarse) {\n width: 16px;\n height: 16px;\n }\n\n /* Responsive adjustments */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n /* Enhance visibility on focus for accessibility */\n &:focus {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])), function (_a) {
|
|
82516
82536
|
var value = _a.value;
|
|
82517
82537
|
return "linear-gradient(\n to right,\n var(--brand-colors-accent) 0%,\n var(--brand-colors-accent) ".concat(value, "%,\n var(--level-dark-200) ").concat(value, "%,\n var(--level-dark-200) 100%\n )");
|
|
82518
82538
|
});
|
|
82519
|
-
var StyledVolumeWrapper = dt.div(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n"], ["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n"])));
|
|
82520
|
-
var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n }\n"], ["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n }\n"])), function (_a) {
|
|
82539
|
+
var StyledVolumeWrapper = dt.div(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n\n /* Always show volume slider on touch devices */\n @media (hover: none) and (pointer: coarse) {\n & > input {\n display: block;\n }\n }\n\n /* Hide volume slider on very small screens */\n @media screen and (max-width: 320px) {\n & > input {\n display: none !important;\n }\n }\n"], ["\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n gap: 16px;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n & > svg {\n cursor: pointer;\n }\n\n & > input {\n display: none;\n }\n\n &:hover > input {\n display: block;\n }\n\n /* Always show volume slider on touch devices */\n @media (hover: none) and (pointer: coarse) {\n & > input {\n display: block;\n }\n }\n\n /* Hide volume slider on very small screens */\n @media screen and (max-width: 320px) {\n & > input {\n display: none !important;\n }\n }\n"])));
|
|
82540
|
+
var StyledVolumeSlider = dt.input(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n /* Responsive width adjustments */\n @media screen and (max-width: 768px) {\n width: 80px;\n }\n\n @media screen and (max-width: 480px) {\n width: 60px;\n }\n\n @media screen and (max-width: 320px) {\n width: 50px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n border: none;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n"], ["\n width: 100px;\n height: 4px;\n border-radius: 5px;\n background: ", ";\n outline: none;\n -webkit-transition: 0.2s;\n transition: opacity 0.2s;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n\n /* Responsive width adjustments */\n @media screen and (max-width: 768px) {\n width: 80px;\n }\n\n @media screen and (max-width: 480px) {\n width: 60px;\n }\n\n @media screen and (max-width: 320px) {\n width: 50px;\n }\n\n &::-webkit-slider-thumb {\n -webkit-appearance: none;\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n\n &::-moz-range-thumb {\n appearance: none;\n width: 12px;\n height: 12px;\n border-radius: 50%;\n background: var(--neutral-colors-light);\n cursor: pointer;\n border: none;\n\n /* Responsive thumb size */\n @media screen and (max-width: 480px) {\n width: 14px;\n height: 14px;\n }\n }\n"])), function (_a) {
|
|
82521
82541
|
var value = _a.value;
|
|
82522
82542
|
return "linear-gradient(\n to right,\n var(--neutral-colors-light) 0%,\n var(--neutral-colors-light) ".concat(value, "%,\n var(--level-grey-500) ").concat(value, "%,\n var(--level-grey-500) 100%\n )");
|
|
82523
82543
|
});
|
|
82524
|
-
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n"])));
|
|
82525
|
-
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82526
|
-
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n
|
|
82544
|
+
var StyledControllerLeft = dt.div(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n \n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n /* Hide rewind/forward controls on very small screens */\n @media screen and (max-width: 480px) {\n .rewind-control,\n .forward-control {\n display: none;\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex: 1;\n \n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n /* Hide rewind/forward controls on very small screens */\n @media screen and (max-width: 480px) {\n .rewind-control,\n .forward-control {\n display: none;\n }\n }\n"])));
|
|
82545
|
+
var StyledControllerRight = dt.div(templateObject_6$1 || (templateObject_6$1 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n \n /* Hide less essential controls on mobile */\n .skip-control,\n .favorite-control,\n .download-control {\n display: none;\n }\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"], ["\n display: flex;\n align-items: center;\n gap: 16px;\n flex-shrink: 0;\n\n /* Responsive gap adjustments */\n @media screen and (max-width: 768px) {\n gap: 12px;\n }\n\n @media screen and (max-width: 480px) {\n gap: 8px;\n \n /* Hide less essential controls on mobile */\n .skip-control,\n .favorite-control,\n .download-control {\n display: none;\n }\n }\n\n @media screen and (max-width: 320px) {\n gap: 6px;\n }\n\n .skip-icon-disabled {\n cursor: default;\n\n & > path {\n fill: var(--level-dark-300);\n }\n }\n"])));
|
|
82546
|
+
var StyledTimeTrack = dt.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n font-size: 14px;\n \n /* Responsive font size adjustments */\n @media screen and (max-width: 768px) {\n font-size: 12px;\n }\n\n @media screen and (max-width: 480px) {\n font-size: 11px;\n }\n\n @media screen and (max-width: 320px) {\n font-size: 10px;\n }\n"], ["\n color: #FFFFFF;\n ", "\n text-align: right;\n white-space: nowrap;\n font-size: 14px;\n \n /* Responsive font size adjustments */\n @media screen and (max-width: 768px) {\n font-size: 12px;\n }\n\n @media screen and (max-width: 480px) {\n font-size: 11px;\n }\n\n @media screen and (max-width: 320px) {\n font-size: 10px;\n }\n"
|
|
82547
|
+
// Base styles for icon containers
|
|
82548
|
+
])), {
|
|
82527
82549
|
fontStyle: 'descriptor'
|
|
82528
82550
|
});
|
|
82529
|
-
|
|
82530
|
-
var
|
|
82531
|
-
var
|
|
82532
|
-
var
|
|
82533
|
-
var
|
|
82534
|
-
var
|
|
82535
|
-
var
|
|
82536
|
-
var
|
|
82551
|
+
// Base styles for icon containers
|
|
82552
|
+
var BaseIconContainer = dt.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n min-width: 24px;\n min-height: 24px;\n border-radius: 4px;\n transition: background-color 0.2s ease, transform 0.1s ease;\n\n /* Enhanced touch targets for mobile */\n @media (hover: none) and (pointer: coarse) {\n min-width: 32px;\n min-height: 32px;\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n & > svg > path {\n fill: #08C694 !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n /* Focus styles for accessibility */\n &:focus-visible {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"], ["\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n min-width: 24px;\n min-height: 24px;\n border-radius: 4px;\n transition: background-color 0.2s ease, transform 0.1s ease;\n\n /* Enhanced touch targets for mobile */\n @media (hover: none) and (pointer: coarse) {\n min-width: 32px;\n min-height: 32px;\n }\n\n & > svg > path {\n fill: #FFFFFF !important;\n transition: fill 0.2s ease;\n }\n\n &:hover {\n background-color: rgba(255, 255, 255, 0.1);\n \n & > svg > path {\n fill: #08C694 !important;\n }\n }\n\n &:active {\n transform: scale(0.95);\n }\n\n /* Focus styles for accessibility */\n &:focus-visible {\n outline: 2px solid var(--brand-colors-accent);\n outline-offset: 2px;\n }\n"])));
|
|
82553
|
+
var StyledHeartIconContainer = dt(BaseIconContainer)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82554
|
+
var StyledDownloadIconContainer = dt(BaseIconContainer)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n\n @media screen and (max-width: 768px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 480px) {\n width: 18px !important;\n height: 18px !important;\n }\n }\n"], ["\n & > svg {\n width: 24px !important;\n height: 24px !important;\n \n @media screen and (max-width: 1500px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 1000px) {\n width: 16px !important;\n height: 16px !important;\n }\n\n @media screen and (max-width: 768px) {\n width: 20px !important;\n height: 20px !important;\n }\n\n @media screen and (max-width: 480px) {\n width: 18px !important;\n height: 18px !important;\n }\n }\n"])));
|
|
82555
|
+
var StyledSubtitlesIconContainer = dt(BaseIconContainer)(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82556
|
+
var StyledFullscreenIconContainer = dt(BaseIconContainer)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82557
|
+
var StyledPictureInPictureIconContainer = dt(BaseIconContainer)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n &.pip-active {\n background-color: rgba(8, 198, 148, 0.2);\n \n & > svg > path {\n fill: #08C694 !important;\n }\n }\n"], ["\n &.pip-active {\n background-color: rgba(8, 198, 148, 0.2);\n \n & > svg > path {\n fill: #08C694 !important;\n }\n }\n"])));
|
|
82558
|
+
var StyledVolumeIconContainer = dt(BaseIconContainer)(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82559
|
+
var StyledPlayPauseIconContainer = dt(BaseIconContainer)(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82560
|
+
var StyledRewindIconContainer = dt(BaseIconContainer)(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n /* Additional specific styles if needed */\n"], ["\n /* Additional specific styles if needed */\n"])));
|
|
82561
|
+
var templateObject_1$8, templateObject_2$6, templateObject_3$3, templateObject_4$1, templateObject_5$1, templateObject_6$1, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16;
|
|
82537
82562
|
|
|
82538
82563
|
var PLAYBACK_SPEED_LIST = [{
|
|
82539
82564
|
label: 'playback_speed.2x',
|
|
@@ -82736,12 +82761,14 @@ var Controls = function Controls(_a) {
|
|
|
82736
82761
|
volumeChangeHandler = _a.volumeChangeHandler,
|
|
82737
82762
|
formatDuration = _a.formatDuration,
|
|
82738
82763
|
handleFullScreen = _a.handleFullScreen,
|
|
82764
|
+
handlePictureInPicture = _a.handlePictureInPicture,
|
|
82739
82765
|
playing = _a.playing,
|
|
82740
82766
|
isSubtitlesChecked = _a.isSubtitlesChecked,
|
|
82741
82767
|
toggleSubtitlesCheck = _a.toggleSubtitlesCheck,
|
|
82742
82768
|
isFavorite = _a.isFavorite,
|
|
82743
82769
|
toggleIsFavorite = _a.toggleIsFavorite,
|
|
82744
82770
|
isFullscreen = _a.isFullscreen,
|
|
82771
|
+
isPiPActive = _a.isPiPActive,
|
|
82745
82772
|
subtitle = _a.subtitle,
|
|
82746
82773
|
handleSkipBackward = _a.handleSkipBackward,
|
|
82747
82774
|
handleSkipForward = _a.handleSkipForward,
|
|
@@ -82751,7 +82778,9 @@ var Controls = function Controls(_a) {
|
|
|
82751
82778
|
showDownload = _a.showDownload,
|
|
82752
82779
|
downloadUrl = _a.downloadUrl,
|
|
82753
82780
|
downloadFileName = _a.downloadFileName,
|
|
82754
|
-
onDownload = _a.onDownload
|
|
82781
|
+
onDownload = _a.onDownload,
|
|
82782
|
+
_b = _a.showPictureInPicture,
|
|
82783
|
+
showPictureInPicture = _b === void 0 ? true : _b;
|
|
82755
82784
|
var handleDownloadClick = function handleDownloadClick() {
|
|
82756
82785
|
return __awaiter(void 0, void 0, void 0, function () {
|
|
82757
82786
|
var response, blob, blobUrl, link, error_1, link;
|
|
@@ -82818,8 +82847,9 @@ var Controls = function Controls(_a) {
|
|
|
82818
82847
|
children: playing ? jsxRuntimeExports.jsx(PauseIcon, {}) : jsxRuntimeExports.jsx(PlayIcon, {})
|
|
82819
82848
|
})
|
|
82820
82849
|
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82821
|
-
title: "Rewind
|
|
82850
|
+
title: "Rewind 5 seconds",
|
|
82822
82851
|
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82852
|
+
className: "rewind-control",
|
|
82823
82853
|
children: jsxRuntimeExports.jsx(RewindIcon, {
|
|
82824
82854
|
onClick: rewindHandler
|
|
82825
82855
|
})
|
|
@@ -82827,6 +82857,7 @@ var Controls = function Controls(_a) {
|
|
|
82827
82857
|
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82828
82858
|
title: "Forward 10 seconds",
|
|
82829
82859
|
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82860
|
+
className: "forward-control",
|
|
82830
82861
|
children: jsxRuntimeExports.jsx(RewindIcon, {
|
|
82831
82862
|
forward: true,
|
|
82832
82863
|
onClick: handleFastForward
|
|
@@ -82851,6 +82882,7 @@ var Controls = function Controls(_a) {
|
|
|
82851
82882
|
children: [handleSkipBackward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82852
82883
|
title: "Previous video",
|
|
82853
82884
|
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82885
|
+
className: "skip-control",
|
|
82854
82886
|
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82855
82887
|
onClick: function onClick() {
|
|
82856
82888
|
if (!isPreviousVideo) return;
|
|
@@ -82862,6 +82894,7 @@ var Controls = function Controls(_a) {
|
|
|
82862
82894
|
}), handleSkipForward && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82863
82895
|
title: "Next video",
|
|
82864
82896
|
children: jsxRuntimeExports.jsx(StyledRewindIconContainer, {
|
|
82897
|
+
className: "skip-control",
|
|
82865
82898
|
children: jsxRuntimeExports.jsx(SkipIcon, {
|
|
82866
82899
|
forward: true,
|
|
82867
82900
|
onClick: function onClick() {
|
|
@@ -82874,6 +82907,7 @@ var Controls = function Controls(_a) {
|
|
|
82874
82907
|
}), showFavorite && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82875
82908
|
title: isFavorite ? 'Remove from favorites' : 'Add to favorites',
|
|
82876
82909
|
children: jsxRuntimeExports.jsx(StyledHeartIconContainer, {
|
|
82910
|
+
className: "favorite-control",
|
|
82877
82911
|
children: jsxRuntimeExports.jsx(HeartIcon, {
|
|
82878
82912
|
active: isFavorite,
|
|
82879
82913
|
onClick: toggleIsFavorite
|
|
@@ -82882,6 +82916,7 @@ var Controls = function Controls(_a) {
|
|
|
82882
82916
|
}), showDownload && downloadUrl && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82883
82917
|
title: "Download video",
|
|
82884
82918
|
children: jsxRuntimeExports.jsx(StyledDownloadIconContainer, {
|
|
82919
|
+
className: "download-control",
|
|
82885
82920
|
children: jsxRuntimeExports.jsx(DownloadIcon, {
|
|
82886
82921
|
onClick: handleDownloadClick
|
|
82887
82922
|
})
|
|
@@ -82910,6 +82945,13 @@ var Controls = function Controls(_a) {
|
|
|
82910
82945
|
onClick: toggleSubtitlesCheck
|
|
82911
82946
|
})
|
|
82912
82947
|
})
|
|
82948
|
+
}), showPictureInPicture && jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82949
|
+
title: isPiPActive ? 'Exit picture-in-picture' : 'Enter picture-in-picture',
|
|
82950
|
+
children: jsxRuntimeExports.jsx(StyledPictureInPictureIconContainer, {
|
|
82951
|
+
className: isPiPActive ? 'pip-active' : '',
|
|
82952
|
+
onClick: handlePictureInPicture,
|
|
82953
|
+
children: jsxRuntimeExports.jsx(PictureInPictureIcon, {})
|
|
82954
|
+
})
|
|
82913
82955
|
}), jsxRuntimeExports.jsx(CustomTooltip, {
|
|
82914
82956
|
title: isFullscreen ? 'Exit fullscreen' : 'Enter fullscreen',
|
|
82915
82957
|
children: jsxRuntimeExports.jsx(StyledFullscreenIconContainer, {
|
|
@@ -88727,20 +88769,23 @@ function usePlayerControls(_a) {
|
|
|
88727
88769
|
isSubtitlesChecked = _e[0],
|
|
88728
88770
|
setIsSubtitlesChecked = _e[1];
|
|
88729
88771
|
var _f = useState(false),
|
|
88730
|
-
|
|
88731
|
-
|
|
88772
|
+
isPiPActive = _f[0],
|
|
88773
|
+
setIsPiPActive = _f[1];
|
|
88732
88774
|
var _g = useState(false),
|
|
88733
|
-
|
|
88734
|
-
|
|
88775
|
+
isFullscreen = _g[0],
|
|
88776
|
+
setIsFullscreen = _g[1];
|
|
88777
|
+
var _h = useState(false),
|
|
88778
|
+
isControlsActive = _h[0],
|
|
88779
|
+
setIsControlsActive = _h[1];
|
|
88735
88780
|
var videoPlayerRef = useRef(null);
|
|
88736
88781
|
var controlRef = useRef(null);
|
|
88737
88782
|
var playerContainerRef = useRef(null);
|
|
88738
|
-
var
|
|
88739
|
-
subtitles =
|
|
88740
|
-
setSubtitles =
|
|
88741
|
-
var
|
|
88742
|
-
currentSubtitle =
|
|
88743
|
-
setCurrentSubtitle =
|
|
88783
|
+
var _j = useState([]),
|
|
88784
|
+
subtitles = _j[0],
|
|
88785
|
+
setSubtitles = _j[1];
|
|
88786
|
+
var _k = useState(''),
|
|
88787
|
+
currentSubtitle = _k[0],
|
|
88788
|
+
setCurrentSubtitle = _k[1];
|
|
88744
88789
|
var lastSubtitleIndexRef = useRef(null);
|
|
88745
88790
|
var lastPlaybackTimeRef = useRef(0);
|
|
88746
88791
|
var lastCallTimeRef = useRef(Date.now());
|
|
@@ -88768,17 +88813,54 @@ function usePlayerControls(_a) {
|
|
|
88768
88813
|
}
|
|
88769
88814
|
}, [subtitleUrl]);
|
|
88770
88815
|
useEffect(function () {
|
|
88816
|
+
var _a;
|
|
88771
88817
|
var handleFullscreenChange = function handleFullscreenChange() {
|
|
88772
88818
|
setIsFullscreen(!!document.fullscreenElement);
|
|
88773
88819
|
};
|
|
88820
|
+
var handlePiPEnter = function handlePiPEnter() {
|
|
88821
|
+
setIsPiPActive(true);
|
|
88822
|
+
};
|
|
88823
|
+
var handlePiPLeave = function handlePiPLeave() {
|
|
88824
|
+
setIsPiPActive(false);
|
|
88825
|
+
};
|
|
88774
88826
|
document.addEventListener('fullscreenchange', handleFullscreenChange);
|
|
88827
|
+
document.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88828
|
+
document.addEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88829
|
+
// Add event listeners to the video element when it's available
|
|
88830
|
+
var videoElement = (_a = videoPlayerRef.current) === null || _a === void 0 ? void 0 : _a.getInternalPlayer();
|
|
88831
|
+
if (videoElement && videoElement instanceof HTMLVideoElement) {
|
|
88832
|
+
videoElement.addEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88833
|
+
videoElement.addEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88834
|
+
}
|
|
88775
88835
|
return function () {
|
|
88776
88836
|
document.removeEventListener('fullscreenchange', handleFullscreenChange);
|
|
88837
|
+
document.removeEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88838
|
+
document.removeEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88839
|
+
// Clean up video element listeners using the captured reference
|
|
88840
|
+
if (videoElement && videoElement instanceof HTMLVideoElement) {
|
|
88841
|
+
videoElement.removeEventListener('enterpictureinpicture', handlePiPEnter);
|
|
88842
|
+
videoElement.removeEventListener('leavepictureinpicture', handlePiPLeave);
|
|
88843
|
+
}
|
|
88777
88844
|
};
|
|
88778
|
-
}, []);
|
|
88845
|
+
}, [url]); // Re-run when URL changes to ensure proper cleanup and setup
|
|
88779
88846
|
useEffect(function () {
|
|
88780
88847
|
setStartPlayed(false);
|
|
88781
88848
|
}, [url]);
|
|
88849
|
+
// Cleanup effect to handle component unmounting while in PiP mode
|
|
88850
|
+
useEffect(function () {
|
|
88851
|
+
var currentVideoPlayerRef = videoPlayerRef.current;
|
|
88852
|
+
return function () {
|
|
88853
|
+
// Check if we're in PiP mode when component unmounts
|
|
88854
|
+
if (document.pictureInPictureElement) {
|
|
88855
|
+
// Try to keep the video element alive by cloning it
|
|
88856
|
+
var videoElement = currentVideoPlayerRef === null || currentVideoPlayerRef === void 0 ? void 0 : currentVideoPlayerRef.getInternalPlayer();
|
|
88857
|
+
if (videoElement && videoElement instanceof HTMLVideoElement) {
|
|
88858
|
+
// Create a warning for the user that PiP will exit
|
|
88859
|
+
console.log('Component unmounting while in Picture-in-Picture mode');
|
|
88860
|
+
}
|
|
88861
|
+
}
|
|
88862
|
+
};
|
|
88863
|
+
}, []);
|
|
88782
88864
|
var playPauseHandler = useCallback(function () {
|
|
88783
88865
|
setIsPlaying(function (prev) {
|
|
88784
88866
|
return !prev;
|
|
@@ -88963,6 +89045,37 @@ function usePlayerControls(_a) {
|
|
|
88963
89045
|
playerContainer.requestFullscreen()["catch"](console.error);
|
|
88964
89046
|
}
|
|
88965
89047
|
};
|
|
89048
|
+
var handlePictureInPicture = function handlePictureInPicture() {
|
|
89049
|
+
var _a;
|
|
89050
|
+
var videoElement = (_a = videoPlayerRef.current) === null || _a === void 0 ? void 0 : _a.getInternalPlayer();
|
|
89051
|
+
if (!videoElement || !(videoElement instanceof HTMLVideoElement)) {
|
|
89052
|
+
return;
|
|
89053
|
+
}
|
|
89054
|
+
if (!document.pictureInPictureEnabled) {
|
|
89055
|
+
console.warn('Picture-in-Picture is not supported in this browser');
|
|
89056
|
+
return;
|
|
89057
|
+
}
|
|
89058
|
+
if (document.pictureInPictureElement) {
|
|
89059
|
+
document.exitPictureInPicture()["catch"](function (error) {
|
|
89060
|
+
console.error('Failed to exit picture-in-picture:', error);
|
|
89061
|
+
});
|
|
89062
|
+
} else {
|
|
89063
|
+
// Ensure the video is playing before entering PiP mode
|
|
89064
|
+
if (videoElement.paused && isPlaying) {
|
|
89065
|
+
videoElement.play().then(function () {
|
|
89066
|
+
videoElement.requestPictureInPicture()["catch"](function (error) {
|
|
89067
|
+
console.error('Failed to enter picture-in-picture:', error);
|
|
89068
|
+
});
|
|
89069
|
+
})["catch"](function (error) {
|
|
89070
|
+
console.error('Failed to play video before PiP:', error);
|
|
89071
|
+
});
|
|
89072
|
+
} else {
|
|
89073
|
+
videoElement.requestPictureInPicture()["catch"](function (error) {
|
|
89074
|
+
console.error('Failed to enter picture-in-picture:', error);
|
|
89075
|
+
});
|
|
89076
|
+
}
|
|
89077
|
+
}
|
|
89078
|
+
};
|
|
88966
89079
|
var handleKeyDown = useCallback(function (event) {
|
|
88967
89080
|
if ('code' in event) {
|
|
88968
89081
|
switch (event.code) {
|
|
@@ -89029,6 +89142,7 @@ function usePlayerControls(_a) {
|
|
|
89029
89142
|
playerContainerRef: playerContainerRef,
|
|
89030
89143
|
playPauseHandler: playPauseHandler,
|
|
89031
89144
|
handleFullScreen: handleFullScreen,
|
|
89145
|
+
handlePictureInPicture: handlePictureInPicture,
|
|
89032
89146
|
videoPlayerRef: videoPlayerRef,
|
|
89033
89147
|
volume: volume,
|
|
89034
89148
|
muted: muted,
|
|
@@ -89052,6 +89166,7 @@ function usePlayerControls(_a) {
|
|
|
89052
89166
|
isSubtitlesChecked: isSubtitlesChecked,
|
|
89053
89167
|
toggleSubtitlesCheck: toggleSubtitlesCheck,
|
|
89054
89168
|
isFullscreen: isFullscreen,
|
|
89169
|
+
isPiPActive: isPiPActive,
|
|
89055
89170
|
isControlsActive: isControlsActive,
|
|
89056
89171
|
currentSubtitle: currentSubtitle,
|
|
89057
89172
|
setCurrentSubtitle: setCurrentSubtitle,
|
|
@@ -89164,9 +89279,11 @@ var VideoPlayer = function VideoPlayer(_a) {
|
|
|
89164
89279
|
showDownload = _a.showDownload,
|
|
89165
89280
|
downloadUrl = _a.downloadUrl,
|
|
89166
89281
|
downloadFileName = _a.downloadFileName,
|
|
89167
|
-
onDownload = _a.onDownload
|
|
89282
|
+
onDownload = _a.onDownload,
|
|
89283
|
+
_j = _a.showPictureInPicture,
|
|
89284
|
+
showPictureInPicture = _j === void 0 ? true : _j;
|
|
89168
89285
|
var videoRef = useRef(null);
|
|
89169
|
-
var
|
|
89286
|
+
var _k = usePlayerControls({
|
|
89170
89287
|
startTime: startTime,
|
|
89171
89288
|
setLoading: setLoading,
|
|
89172
89289
|
handleTrackProgress: handleTrackProgress,
|
|
@@ -89176,37 +89293,39 @@ var VideoPlayer = function VideoPlayer(_a) {
|
|
|
89176
89293
|
setIsPlaying: setIsPlaying,
|
|
89177
89294
|
shouldPlayerBeFocusedOnSpaceClick: shouldPlayerBeFocusedOnSpaceClick
|
|
89178
89295
|
}),
|
|
89179
|
-
mouseMoveHandler =
|
|
89180
|
-
playerContainerRef =
|
|
89181
|
-
playPauseHandler =
|
|
89182
|
-
handleFullScreen =
|
|
89183
|
-
|
|
89184
|
-
|
|
89185
|
-
|
|
89186
|
-
|
|
89187
|
-
|
|
89188
|
-
|
|
89189
|
-
|
|
89190
|
-
|
|
89191
|
-
|
|
89192
|
-
|
|
89193
|
-
|
|
89194
|
-
|
|
89195
|
-
|
|
89196
|
-
|
|
89197
|
-
|
|
89198
|
-
|
|
89199
|
-
|
|
89200
|
-
|
|
89201
|
-
|
|
89202
|
-
|
|
89203
|
-
|
|
89204
|
-
|
|
89205
|
-
|
|
89206
|
-
|
|
89207
|
-
|
|
89208
|
-
|
|
89209
|
-
|
|
89296
|
+
mouseMoveHandler = _k.mouseMoveHandler,
|
|
89297
|
+
playerContainerRef = _k.playerContainerRef,
|
|
89298
|
+
playPauseHandler = _k.playPauseHandler,
|
|
89299
|
+
handleFullScreen = _k.handleFullScreen,
|
|
89300
|
+
handlePictureInPicture = _k.handlePictureInPicture,
|
|
89301
|
+
videoPlayerRef = _k.videoPlayerRef,
|
|
89302
|
+
playing = _k.playing,
|
|
89303
|
+
volume = _k.volume,
|
|
89304
|
+
muted = _k.muted,
|
|
89305
|
+
progressHandler = _k.progressHandler,
|
|
89306
|
+
bufferStartHandler = _k.bufferStartHandler,
|
|
89307
|
+
bufferEndHandler = _k.bufferEndHandler,
|
|
89308
|
+
onPlayerStart = _k.onPlayerStart,
|
|
89309
|
+
setVideoState = _k.setVideoState,
|
|
89310
|
+
playbackRate = _k.playbackRate,
|
|
89311
|
+
controlRef = _k.controlRef,
|
|
89312
|
+
rewindHandler = _k.rewindHandler,
|
|
89313
|
+
handleFastForward = _k.handleFastForward,
|
|
89314
|
+
formatCurrentTime = _k.formatCurrentTime,
|
|
89315
|
+
played = _k.played,
|
|
89316
|
+
onSeekMouseDownHandler = _k.onSeekMouseDownHandler,
|
|
89317
|
+
seekHandler = _k.seekHandler,
|
|
89318
|
+
seekMouseUpHandler = _k.seekMouseUpHandler,
|
|
89319
|
+
muteHandler = _k.muteHandler,
|
|
89320
|
+
volumeChangeHandler = _k.volumeChangeHandler,
|
|
89321
|
+
formatDuration = _k.formatDuration,
|
|
89322
|
+
isSubtitlesChecked = _k.isSubtitlesChecked,
|
|
89323
|
+
toggleSubtitlesCheck = _k.toggleSubtitlesCheck,
|
|
89324
|
+
isFullscreen = _k.isFullscreen,
|
|
89325
|
+
isPiPActive = _k.isPiPActive,
|
|
89326
|
+
isControlsActive = _k.isControlsActive,
|
|
89327
|
+
currentSubtitle = _k.currentSubtitle,
|
|
89328
|
+
setCurrentSubtitle = _k.setCurrentSubtitle;
|
|
89210
89329
|
var setupHLSSubtitleTracking = useHLSSubtitles({
|
|
89211
89330
|
videoPlayerRef: videoPlayerRef,
|
|
89212
89331
|
isSubtitlesChecked: isSubtitlesChecked,
|
|
@@ -89305,12 +89424,14 @@ var VideoPlayer = function VideoPlayer(_a) {
|
|
|
89305
89424
|
volumeChangeHandler: volumeChangeHandler,
|
|
89306
89425
|
formatDuration: formatDuration,
|
|
89307
89426
|
handleFullScreen: handleFullScreen,
|
|
89427
|
+
handlePictureInPicture: handlePictureInPicture,
|
|
89308
89428
|
playing: playing,
|
|
89309
89429
|
isSubtitlesChecked: isSubtitlesChecked,
|
|
89310
89430
|
toggleSubtitlesCheck: toggleSubtitlesCheck,
|
|
89311
89431
|
isFavorite: isFavorite,
|
|
89312
89432
|
toggleIsFavorite: toggleFavorite,
|
|
89313
89433
|
isFullscreen: isFullscreen,
|
|
89434
|
+
isPiPActive: isPiPActive,
|
|
89314
89435
|
subtitle: !!subtitleUrl || ((_d = (_c = (_b = videoPlayerRef.current) === null || _b === void 0 ? void 0 : _b.getInternalPlayer()) === null || _c === void 0 ? void 0 : _c.textTracks) === null || _d === void 0 ? void 0 : _d.length) > 0,
|
|
89315
89436
|
handleSkipBackward: handlePreviousVideo,
|
|
89316
89437
|
handleSkipForward: handleNextVideo,
|
|
@@ -89320,7 +89441,8 @@ var VideoPlayer = function VideoPlayer(_a) {
|
|
|
89320
89441
|
showDownload: showDownload,
|
|
89321
89442
|
downloadUrl: downloadUrl,
|
|
89322
89443
|
downloadFileName: downloadFileName,
|
|
89323
|
-
onDownload: onDownload
|
|
89444
|
+
onDownload: onDownload,
|
|
89445
|
+
showPictureInPicture: showPictureInPicture
|
|
89324
89446
|
})
|
|
89325
89447
|
})]
|
|
89326
89448
|
});
|