suada-components 1.13.4 → 1.14.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/{DailyMotion-C56t9uqg.js → DailyMotion-CZtI_HFS.js} +1 -1
- package/dist/{DailyMotion-BXMn6KAV.esm.js → DailyMotion-kXSB4KC8.esm.js} +1 -1
- package/dist/{components/Facebook-DsGMW_RL.esm.js → Facebook-Cz_ZNlb9.esm.js} +1 -1
- package/dist/{components/Facebook-rKM0xK0D.js → Facebook-a9zMZ4bZ.js} +1 -1
- package/dist/{FilePlayer-83O8vSjE.esm.js → FilePlayer-B0Quc9zY.esm.js} +1 -1
- package/dist/{FilePlayer-BUnkIHrE.js → FilePlayer-xox0cwKA.js} +1 -1
- package/dist/{components/Kaltura-ZQWkFeP4.esm.js → Kaltura-Bhrp8C0O.esm.js} +1 -1
- package/dist/{Kaltura-BRPnVmjt.js → Kaltura-D6CKVgz4.js} +1 -1
- package/dist/{Mixcloud-259gXxyM.esm.js → Mixcloud-DTH3dqhr.esm.js} +1 -1
- package/dist/{Mixcloud-DQgAbO_k.js → Mixcloud-KBq15mLA.js} +1 -1
- package/dist/{Mux-DWnL8TPR.esm.js → Mux-CkbzJN9A.esm.js} +1 -1
- package/dist/{components/Mux-D3pJndfu.js → Mux-Cu2wtPwj.js} +1 -1
- package/dist/{Preview-BRTt_uNR.js → Preview-BAdyr9MQ.js} +1 -1
- package/dist/{components/Preview-RpbBLT9N.esm.js → Preview-C7XDM3wL.esm.js} +1 -1
- package/dist/{components/SoundCloud-C28YPmW_.esm.js → SoundCloud-1nICRPx_.esm.js} +1 -1
- package/dist/{components/SoundCloud-CzR3PzMR.js → SoundCloud-DbXtzk2K.js} +1 -1
- package/dist/{Streamable-Cb7rcbl4.esm.js → Streamable-D9KPxJCi.esm.js} +1 -1
- package/dist/{components/Streamable-B4LPla6Z.js → Streamable-NMb7RlcH.js} +1 -1
- package/dist/{Twitch-BTHbLK7l.js → Twitch-B5ZylcKE.js} +1 -1
- package/dist/{components/Twitch-7ZmI4OSu.esm.js → Twitch-D5ruN6WR.esm.js} +1 -1
- package/dist/{components/Vidyard-Dkbh64Qd.esm.js → Vidyard-BRuZJVG-.esm.js} +1 -1
- package/dist/{components/Vidyard-DoGAhruy.js → Vidyard-D6DP7LvX.js} +1 -1
- package/dist/{components/Vimeo-BdL1RlXS.esm.js → Vimeo-BXrAUyi5.esm.js} +1 -1
- package/dist/{Vimeo-Dy4WCWO0.js → Vimeo-fdugXx1T.js} +1 -1
- package/dist/{components/Wistia-BC40Ou8t.js → Wistia-BKn9iZmC.js} +1 -1
- package/dist/{Wistia-BV-0ZDaX.esm.js → Wistia-BVDIP_cu.esm.js} +1 -1
- package/dist/{components/YouTube-CdIKWltm.esm.js → YouTube-D1zyOhgZ.esm.js} +1 -1
- package/dist/{YouTube-DCrrjdHh.js → YouTube-DJyN_cwE.js} +1 -1
- package/dist/components/{DailyMotion-Cn9rjifa.esm.js → DailyMotion-DJJDIwue.esm.js} +1 -1
- package/dist/components/{DailyMotion-DUHiBkc_.js → DailyMotion-DeJSts_G.js} +1 -1
- package/dist/{Facebook-BashWh-t.js → components/Facebook-CvrwL8oT.js} +1 -1
- package/dist/{Facebook-BfZ66Gg_.esm.js → components/Facebook-CyJ6hBKd.esm.js} +1 -1
- package/dist/components/{FilePlayer-3kHrIv6v.esm.js → FilePlayer-C9KWJuif.esm.js} +1 -1
- package/dist/components/{FilePlayer-B_bPxxOZ.js → FilePlayer-DW8NNRmy.js} +1 -1
- package/dist/{Kaltura-b2if5uec.esm.js → components/Kaltura-DIRYnFwH.esm.js} +1 -1
- package/dist/components/{Kaltura-D4YUb-Sh.js → Kaltura-DxC8Q23-.js} +1 -1
- package/dist/components/{Mixcloud-D-n6bYpF.esm.js → Mixcloud-CH17IE7T.esm.js} +1 -1
- package/dist/components/{Mixcloud-DnqSt6XT.js → Mixcloud-DwX3HLBJ.js} +1 -1
- package/dist/{Mux-BLTI9IWB.js → components/Mux-C8orpnZN.js} +1 -1
- package/dist/components/{Mux-DOfxn4oU.esm.js → Mux-zMEGXa6m.esm.js} +1 -1
- package/dist/components/{Preview-DsNK125j.js → Preview-BSN4ubgN.js} +1 -1
- package/dist/{Preview--GBpExF1.esm.js → components/Preview-CCvhiQdh.esm.js} +1 -1
- package/dist/{SoundCloud-DfWVM3yS.esm.js → components/SoundCloud-CiDCcxQA.esm.js} +1 -1
- package/dist/{SoundCloud-DeywKljz.js → components/SoundCloud-Dkt1JMEu.js} +1 -1
- package/dist/components/{Streamable-CM8kykFu.esm.js → Streamable-CcU_5Rdf.esm.js} +1 -1
- package/dist/{Streamable-0FgClTJ4.js → components/Streamable-DczCq1Xl.js} +1 -1
- package/dist/{Twitch-3U797dxt.esm.js → components/Twitch-C4L1pOoE.esm.js} +1 -1
- package/dist/components/{Twitch-XQcvQrnq.js → Twitch-CzZICNs7.js} +1 -1
- package/dist/components/VideoPlayer/index.d.ts +2 -0
- package/dist/{Vidyard-B-WO0bkJ.js → components/Vidyard-DiiuYWNx.js} +1 -1
- package/dist/{Vidyard-TWbzYwmu.esm.js → components/Vidyard-U_U3RL0f.esm.js} +1 -1
- package/dist/{Vimeo-CO7Cw7dD.esm.js → components/Vimeo-CgJhQfQS.esm.js} +1 -1
- package/dist/components/{Vimeo-BpIo4ge7.js → Vimeo-DJkAUgzX.js} +1 -1
- package/dist/components/{Wistia-BcLwi8Yz.esm.js → Wistia-DBl99mQP.esm.js} +1 -1
- package/dist/{Wistia-DfJIi1rZ.js → components/Wistia-HXhXUxps.js} +1 -1
- package/dist/components/{YouTube-Dq0U0pD1.js → YouTube-BHGgzYGY.js} +1 -1
- package/dist/{YouTube-BU4YqXA9.esm.js → components/YouTube-DccRdJSI.esm.js} +1 -1
- package/dist/components/components/VideoPlayer/index.d.ts +2 -0
- package/dist/components/components/index.d.ts +1 -0
- package/dist/components/{index-BhLinqT5.esm.js → index-3IkDOjMU.esm.js} +30 -18
- package/dist/components/{index-CKyWHAG8.js → index-Br1iBNb-.js} +30 -18
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/icons/components/VideoPlayer/index.d.ts +2 -0
- package/dist/icons/components/index.d.ts +1 -0
- package/dist/{index-B4jmlZxa.js → index-Bes_plew.js} +30 -18
- package/dist/{index-Rgoxo2_5.esm.js → index-DwaJVGQK.esm.js} +30 -18
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -76914,7 +76914,7 @@ function requirePlayers () {
|
|
|
76914
76914
|
canPlay: import_patterns.canPlay.youtube,
|
|
76915
76915
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76916
76916
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
76917
|
-
'./YouTube-
|
|
76917
|
+
'./YouTube-DccRdJSI.esm.js'
|
|
76918
76918
|
).then(function (n) { return n.Y; }))
|
|
76919
76919
|
},
|
|
76920
76920
|
{
|
|
@@ -76923,7 +76923,7 @@ function requirePlayers () {
|
|
|
76923
76923
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
76924
76924
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76925
76925
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
76926
|
-
'./SoundCloud-
|
|
76926
|
+
'./SoundCloud-CiDCcxQA.esm.js'
|
|
76927
76927
|
).then(function (n) { return n.S; }))
|
|
76928
76928
|
},
|
|
76929
76929
|
{
|
|
@@ -76932,7 +76932,7 @@ function requirePlayers () {
|
|
|
76932
76932
|
canPlay: import_patterns.canPlay.vimeo,
|
|
76933
76933
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76934
76934
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
76935
|
-
'./Vimeo-
|
|
76935
|
+
'./Vimeo-CgJhQfQS.esm.js'
|
|
76936
76936
|
).then(function (n) { return n.V; }))
|
|
76937
76937
|
},
|
|
76938
76938
|
{
|
|
@@ -76941,7 +76941,7 @@ function requirePlayers () {
|
|
|
76941
76941
|
canPlay: import_patterns.canPlay.mux,
|
|
76942
76942
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76943
76943
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
76944
|
-
'./Mux-
|
|
76944
|
+
'./Mux-zMEGXa6m.esm.js'
|
|
76945
76945
|
).then(function (n) { return n.M; }))
|
|
76946
76946
|
},
|
|
76947
76947
|
{
|
|
@@ -76950,7 +76950,7 @@ function requirePlayers () {
|
|
|
76950
76950
|
canPlay: import_patterns.canPlay.facebook,
|
|
76951
76951
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76952
76952
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
76953
|
-
'./Facebook-
|
|
76953
|
+
'./Facebook-CyJ6hBKd.esm.js'
|
|
76954
76954
|
).then(function (n) { return n.F; }))
|
|
76955
76955
|
},
|
|
76956
76956
|
{
|
|
@@ -76959,7 +76959,7 @@ function requirePlayers () {
|
|
|
76959
76959
|
canPlay: import_patterns.canPlay.streamable,
|
|
76960
76960
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76961
76961
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
76962
|
-
'./Streamable-
|
|
76962
|
+
'./Streamable-CcU_5Rdf.esm.js'
|
|
76963
76963
|
).then(function (n) { return n.S; }))
|
|
76964
76964
|
},
|
|
76965
76965
|
{
|
|
@@ -76968,7 +76968,7 @@ function requirePlayers () {
|
|
|
76968
76968
|
canPlay: import_patterns.canPlay.wistia,
|
|
76969
76969
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76970
76970
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
76971
|
-
'./Wistia-
|
|
76971
|
+
'./Wistia-DBl99mQP.esm.js'
|
|
76972
76972
|
).then(function (n) { return n.W; }))
|
|
76973
76973
|
},
|
|
76974
76974
|
{
|
|
@@ -76977,7 +76977,7 @@ function requirePlayers () {
|
|
|
76977
76977
|
canPlay: import_patterns.canPlay.twitch,
|
|
76978
76978
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76979
76979
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
76980
|
-
'./Twitch-
|
|
76980
|
+
'./Twitch-C4L1pOoE.esm.js'
|
|
76981
76981
|
).then(function (n) { return n.T; }))
|
|
76982
76982
|
},
|
|
76983
76983
|
{
|
|
@@ -76986,7 +76986,7 @@ function requirePlayers () {
|
|
|
76986
76986
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
76987
76987
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76988
76988
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
76989
|
-
'./DailyMotion-
|
|
76989
|
+
'./DailyMotion-DJJDIwue.esm.js'
|
|
76990
76990
|
).then(function (n) { return n.D; }))
|
|
76991
76991
|
},
|
|
76992
76992
|
{
|
|
@@ -76995,7 +76995,7 @@ function requirePlayers () {
|
|
|
76995
76995
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
76996
76996
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
76997
76997
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
76998
|
-
'./Mixcloud-
|
|
76998
|
+
'./Mixcloud-CH17IE7T.esm.js'
|
|
76999
76999
|
).then(function (n) { return n.M; }))
|
|
77000
77000
|
},
|
|
77001
77001
|
{
|
|
@@ -77004,7 +77004,7 @@ function requirePlayers () {
|
|
|
77004
77004
|
canPlay: import_patterns.canPlay.vidyard,
|
|
77005
77005
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
77006
77006
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
77007
|
-
'./Vidyard-
|
|
77007
|
+
'./Vidyard-U_U3RL0f.esm.js'
|
|
77008
77008
|
).then(function (n) { return n.V; }))
|
|
77009
77009
|
},
|
|
77010
77010
|
{
|
|
@@ -77013,7 +77013,7 @@ function requirePlayers () {
|
|
|
77013
77013
|
canPlay: import_patterns.canPlay.kaltura,
|
|
77014
77014
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
77015
77015
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
77016
|
-
'./Kaltura-
|
|
77016
|
+
'./Kaltura-DIRYnFwH.esm.js'
|
|
77017
77017
|
).then(function (n) { return n.K; }))
|
|
77018
77018
|
},
|
|
77019
77019
|
{
|
|
@@ -77025,7 +77025,7 @@ function requirePlayers () {
|
|
|
77025
77025
|
},
|
|
77026
77026
|
lazyPlayer: (0, import_utils.lazy)(() => import(
|
|
77027
77027
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
77028
|
-
'./FilePlayer-
|
|
77028
|
+
'./FilePlayer-C9KWJuif.esm.js'
|
|
77029
77029
|
).then(function (n) { return n.F; }))
|
|
77030
77030
|
}
|
|
77031
77031
|
];
|
|
@@ -77846,7 +77846,7 @@ function requireReactPlayer () {
|
|
|
77846
77846
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
77847
77847
|
const Preview = (0, import_utils.lazy)(() => import(
|
|
77848
77848
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
77849
|
-
'./Preview-
|
|
77849
|
+
'./Preview-CCvhiQdh.esm.js'
|
|
77850
77850
|
).then(function (n) { return n.P; }));
|
|
77851
77851
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
77852
77852
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -78412,6 +78412,20 @@ var StyledPlaybackSpeedItem = dt.p(_templateObject3$3 || (_templateObject3$3 = _
|
|
|
78412
78412
|
fontStyle: 'bodyS'
|
|
78413
78413
|
});
|
|
78414
78414
|
|
|
78415
|
+
// Translation fallbacks for playback speed labels
|
|
78416
|
+
var getTranslationFallback = function getTranslationFallback(key) {
|
|
78417
|
+
var translations = {
|
|
78418
|
+
'general.playback_speed': 'Playback Speed',
|
|
78419
|
+
'playback_speed.2x': '2x',
|
|
78420
|
+
'playback_speed.1_75x': '1.75x',
|
|
78421
|
+
'playback_speed.1_5x': '1.5x',
|
|
78422
|
+
'playback_speed.1_25x': '1.25x',
|
|
78423
|
+
'playback_speed.1x': '1x',
|
|
78424
|
+
'playback_speed.0_75x': '0.75x',
|
|
78425
|
+
'playback_speed.0_5x': '0.5x'
|
|
78426
|
+
};
|
|
78427
|
+
return translations[key] || key;
|
|
78428
|
+
};
|
|
78415
78429
|
var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
78416
78430
|
var playbackSpeed = _ref.playbackSpeed,
|
|
78417
78431
|
onPlaybackSpeedChange = _ref.onPlaybackSpeedChange,
|
|
@@ -78424,8 +78438,6 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78424
78438
|
isMenuActive = _useMenuToggle.isVisible,
|
|
78425
78439
|
menuPosition = _useMenuToggle.menuPosition,
|
|
78426
78440
|
toggleMenu = _useMenuToggle.toggleMenu;
|
|
78427
|
-
var _useTranslation = useTranslation(),
|
|
78428
|
-
t = _useTranslation.t;
|
|
78429
78441
|
return jsxs(StyledPlaybackMenuWrapper, {
|
|
78430
78442
|
ref: menuRef,
|
|
78431
78443
|
className: menuWrapperClassName,
|
|
@@ -78437,7 +78449,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78437
78449
|
"$position": menuPosition,
|
|
78438
78450
|
style: customMenuStyles,
|
|
78439
78451
|
children: [jsx$1("h2", {
|
|
78440
|
-
children:
|
|
78452
|
+
children: getTranslationFallback('general.playback_speed')
|
|
78441
78453
|
}), PLAYBACK_SPEED_LIST.map(function (_ref2, index) {
|
|
78442
78454
|
var label = _ref2.label,
|
|
78443
78455
|
value = _ref2.value;
|
|
@@ -78446,7 +78458,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78446
78458
|
onPlaybackSpeedChange(value);
|
|
78447
78459
|
toggleMenu();
|
|
78448
78460
|
},
|
|
78449
|
-
children: [
|
|
78461
|
+
children: [getTranslationFallback(label), value === playbackSpeed && jsx$1(VideoCheckmarkIcon, {})]
|
|
78450
78462
|
}, index);
|
|
78451
78463
|
})]
|
|
78452
78464
|
})]
|
|
@@ -76934,7 +76934,7 @@ function requirePlayers () {
|
|
|
76934
76934
|
canPlay: import_patterns.canPlay.youtube,
|
|
76935
76935
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76936
76936
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
76937
|
-
'./YouTube-
|
|
76937
|
+
'./YouTube-BHGgzYGY.js'
|
|
76938
76938
|
); }).then(function (n) { return n.YouTube; }))
|
|
76939
76939
|
},
|
|
76940
76940
|
{
|
|
@@ -76943,7 +76943,7 @@ function requirePlayers () {
|
|
|
76943
76943
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
76944
76944
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76945
76945
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
76946
|
-
'./SoundCloud-
|
|
76946
|
+
'./SoundCloud-Dkt1JMEu.js'
|
|
76947
76947
|
); }).then(function (n) { return n.SoundCloud; }))
|
|
76948
76948
|
},
|
|
76949
76949
|
{
|
|
@@ -76952,7 +76952,7 @@ function requirePlayers () {
|
|
|
76952
76952
|
canPlay: import_patterns.canPlay.vimeo,
|
|
76953
76953
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76954
76954
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
76955
|
-
'./Vimeo-
|
|
76955
|
+
'./Vimeo-DJkAUgzX.js'
|
|
76956
76956
|
); }).then(function (n) { return n.Vimeo; }))
|
|
76957
76957
|
},
|
|
76958
76958
|
{
|
|
@@ -76961,7 +76961,7 @@ function requirePlayers () {
|
|
|
76961
76961
|
canPlay: import_patterns.canPlay.mux,
|
|
76962
76962
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76963
76963
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
76964
|
-
'./Mux-
|
|
76964
|
+
'./Mux-C8orpnZN.js'
|
|
76965
76965
|
); }).then(function (n) { return n.Mux; }))
|
|
76966
76966
|
},
|
|
76967
76967
|
{
|
|
@@ -76970,7 +76970,7 @@ function requirePlayers () {
|
|
|
76970
76970
|
canPlay: import_patterns.canPlay.facebook,
|
|
76971
76971
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76972
76972
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
76973
|
-
'./Facebook-
|
|
76973
|
+
'./Facebook-CvrwL8oT.js'
|
|
76974
76974
|
); }).then(function (n) { return n.Facebook; }))
|
|
76975
76975
|
},
|
|
76976
76976
|
{
|
|
@@ -76979,7 +76979,7 @@ function requirePlayers () {
|
|
|
76979
76979
|
canPlay: import_patterns.canPlay.streamable,
|
|
76980
76980
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76981
76981
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
76982
|
-
'./Streamable-
|
|
76982
|
+
'./Streamable-DczCq1Xl.js'
|
|
76983
76983
|
); }).then(function (n) { return n.Streamable; }))
|
|
76984
76984
|
},
|
|
76985
76985
|
{
|
|
@@ -76988,7 +76988,7 @@ function requirePlayers () {
|
|
|
76988
76988
|
canPlay: import_patterns.canPlay.wistia,
|
|
76989
76989
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76990
76990
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
76991
|
-
'./Wistia-
|
|
76991
|
+
'./Wistia-HXhXUxps.js'
|
|
76992
76992
|
); }).then(function (n) { return n.Wistia; }))
|
|
76993
76993
|
},
|
|
76994
76994
|
{
|
|
@@ -76997,7 +76997,7 @@ function requirePlayers () {
|
|
|
76997
76997
|
canPlay: import_patterns.canPlay.twitch,
|
|
76998
76998
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76999
76999
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
77000
|
-
'./Twitch-
|
|
77000
|
+
'./Twitch-CzZICNs7.js'
|
|
77001
77001
|
); }).then(function (n) { return n.Twitch; }))
|
|
77002
77002
|
},
|
|
77003
77003
|
{
|
|
@@ -77006,7 +77006,7 @@ function requirePlayers () {
|
|
|
77006
77006
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
77007
77007
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77008
77008
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
77009
|
-
'./DailyMotion-
|
|
77009
|
+
'./DailyMotion-DeJSts_G.js'
|
|
77010
77010
|
); }).then(function (n) { return n.DailyMotion; }))
|
|
77011
77011
|
},
|
|
77012
77012
|
{
|
|
@@ -77015,7 +77015,7 @@ function requirePlayers () {
|
|
|
77015
77015
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
77016
77016
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77017
77017
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
77018
|
-
'./Mixcloud-
|
|
77018
|
+
'./Mixcloud-DwX3HLBJ.js'
|
|
77019
77019
|
); }).then(function (n) { return n.Mixcloud; }))
|
|
77020
77020
|
},
|
|
77021
77021
|
{
|
|
@@ -77024,7 +77024,7 @@ function requirePlayers () {
|
|
|
77024
77024
|
canPlay: import_patterns.canPlay.vidyard,
|
|
77025
77025
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77026
77026
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
77027
|
-
'./Vidyard-
|
|
77027
|
+
'./Vidyard-DiiuYWNx.js'
|
|
77028
77028
|
); }).then(function (n) { return n.Vidyard; }))
|
|
77029
77029
|
},
|
|
77030
77030
|
{
|
|
@@ -77033,7 +77033,7 @@ function requirePlayers () {
|
|
|
77033
77033
|
canPlay: import_patterns.canPlay.kaltura,
|
|
77034
77034
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77035
77035
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
77036
|
-
'./Kaltura-
|
|
77036
|
+
'./Kaltura-DxC8Q23-.js'
|
|
77037
77037
|
); }).then(function (n) { return n.Kaltura; }))
|
|
77038
77038
|
},
|
|
77039
77039
|
{
|
|
@@ -77045,7 +77045,7 @@ function requirePlayers () {
|
|
|
77045
77045
|
},
|
|
77046
77046
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77047
77047
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
77048
|
-
'./FilePlayer-
|
|
77048
|
+
'./FilePlayer-DW8NNRmy.js'
|
|
77049
77049
|
); }).then(function (n) { return n.FilePlayer; }))
|
|
77050
77050
|
}
|
|
77051
77051
|
];
|
|
@@ -77866,7 +77866,7 @@ function requireReactPlayer () {
|
|
|
77866
77866
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
77867
77867
|
const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77868
77868
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
77869
|
-
'./Preview-
|
|
77869
|
+
'./Preview-BSN4ubgN.js'
|
|
77870
77870
|
); }).then(function (n) { return n.Preview; }));
|
|
77871
77871
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
77872
77872
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -78432,6 +78432,20 @@ var StyledPlaybackSpeedItem = dt.p(_templateObject3$3 || (_templateObject3$3 = _
|
|
|
78432
78432
|
fontStyle: 'bodyS'
|
|
78433
78433
|
});
|
|
78434
78434
|
|
|
78435
|
+
// Translation fallbacks for playback speed labels
|
|
78436
|
+
var getTranslationFallback = function getTranslationFallback(key) {
|
|
78437
|
+
var translations = {
|
|
78438
|
+
'general.playback_speed': 'Playback Speed',
|
|
78439
|
+
'playback_speed.2x': '2x',
|
|
78440
|
+
'playback_speed.1_75x': '1.75x',
|
|
78441
|
+
'playback_speed.1_5x': '1.5x',
|
|
78442
|
+
'playback_speed.1_25x': '1.25x',
|
|
78443
|
+
'playback_speed.1x': '1x',
|
|
78444
|
+
'playback_speed.0_75x': '0.75x',
|
|
78445
|
+
'playback_speed.0_5x': '0.5x'
|
|
78446
|
+
};
|
|
78447
|
+
return translations[key] || key;
|
|
78448
|
+
};
|
|
78435
78449
|
var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
78436
78450
|
var playbackSpeed = _ref.playbackSpeed,
|
|
78437
78451
|
onPlaybackSpeedChange = _ref.onPlaybackSpeedChange,
|
|
@@ -78444,8 +78458,6 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78444
78458
|
isMenuActive = _useMenuToggle.isVisible,
|
|
78445
78459
|
menuPosition = _useMenuToggle.menuPosition,
|
|
78446
78460
|
toggleMenu = _useMenuToggle.toggleMenu;
|
|
78447
|
-
var _useTranslation = useTranslation(),
|
|
78448
|
-
t = _useTranslation.t;
|
|
78449
78461
|
return require$$2$2.jsxs(StyledPlaybackMenuWrapper, {
|
|
78450
78462
|
ref: menuRef,
|
|
78451
78463
|
className: menuWrapperClassName,
|
|
@@ -78457,7 +78469,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78457
78469
|
"$position": menuPosition,
|
|
78458
78470
|
style: customMenuStyles,
|
|
78459
78471
|
children: [require$$2$2.jsx("h2", {
|
|
78460
|
-
children:
|
|
78472
|
+
children: getTranslationFallback('general.playback_speed')
|
|
78461
78473
|
}), PLAYBACK_SPEED_LIST.map(function (_ref2, index) {
|
|
78462
78474
|
var label = _ref2.label,
|
|
78463
78475
|
value = _ref2.value;
|
|
@@ -78466,7 +78478,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78466
78478
|
onPlaybackSpeedChange(value);
|
|
78467
78479
|
toggleMenu();
|
|
78468
78480
|
},
|
|
78469
|
-
children: [
|
|
78481
|
+
children: [getTranslationFallback(label), value === playbackSpeed && require$$2$2.jsx(VideoCheckmarkIcon, {})]
|
|
78470
78482
|
}, index);
|
|
78471
78483
|
})]
|
|
78472
78484
|
})]
|
|
@@ -19,6 +19,7 @@ export { Badge } from './Badge';
|
|
|
19
19
|
export { TooltipHeight } from './Tooltip';
|
|
20
20
|
export { CustomTooltip } from './Tooltip';
|
|
21
21
|
export { VideoPlayer } from './VideoPlayer';
|
|
22
|
+
export type { Note, NoteMarker, PlayerProps, Note as VideoPlayerNote } from './VideoPlayer';
|
|
22
23
|
export { PiPProvider } from './VideoPlayer/PiPContext';
|
|
23
24
|
export { usePiP } from './VideoPlayer/usePiP';
|
|
24
25
|
export { SplashScreen } from './SplashScreen';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, p as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, w as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, n as PiPProvider, R as RadioButton, x as RangeSlider, S as SearchInput, o as SplashScreen, q as StatusIndicator, t as TabNavigation, s as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, v as activeTabClassName, u as usePiP } from './index-
|
|
1
|
+
export { A as AudioPlayer, k as Badge, h as Breadcrumb, B as Button, e as Checkbox, j as ColorPicker, p as ColumnNavigation, C as CourseCard, c as CustomSwitcher, m as CustomTooltip, d as DatePicker, w as DrawerTips, D as DropDown, G as GridActionMenu, L as Loader, N as NavigationBar, f as Pagination, P as PhoneCountryCode, n as PiPProvider, R as RadioButton, x as RangeSlider, S as SearchInput, o as SplashScreen, q as StatusIndicator, t as TabNavigation, s as TabPanel, b as ThemeProvider, i as Tile, l as TooltipHeight, T as TranslationProvider, U as Uploader, V as VideoPlayer, v as activeTabClassName, u as usePiP } from './index-3IkDOjMU.esm.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
3
|
import 'react';
|
|
4
4
|
import 'react-transition-group';
|
package/dist/components/index.js
CHANGED
|
@@ -19,6 +19,7 @@ export { Badge } from './Badge';
|
|
|
19
19
|
export { TooltipHeight } from './Tooltip';
|
|
20
20
|
export { CustomTooltip } from './Tooltip';
|
|
21
21
|
export { VideoPlayer } from './VideoPlayer';
|
|
22
|
+
export type { Note, NoteMarker, PlayerProps, Note as VideoPlayerNote } from './VideoPlayer';
|
|
22
23
|
export { PiPProvider } from './VideoPlayer/PiPContext';
|
|
23
24
|
export { usePiP } from './VideoPlayer/usePiP';
|
|
24
25
|
export { SplashScreen } from './SplashScreen';
|
|
@@ -76934,7 +76934,7 @@ function requirePlayers () {
|
|
|
76934
76934
|
canPlay: import_patterns.canPlay.youtube,
|
|
76935
76935
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76936
76936
|
/* webpackChunkName: 'reactPlayerYouTube' */
|
|
76937
|
-
'./YouTube-
|
|
76937
|
+
'./YouTube-DJyN_cwE.js'
|
|
76938
76938
|
); }).then(function (n) { return n.YouTube; }))
|
|
76939
76939
|
},
|
|
76940
76940
|
{
|
|
@@ -76943,7 +76943,7 @@ function requirePlayers () {
|
|
|
76943
76943
|
canPlay: import_patterns.canPlay.soundcloud,
|
|
76944
76944
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76945
76945
|
/* webpackChunkName: 'reactPlayerSoundCloud' */
|
|
76946
|
-
'./SoundCloud-
|
|
76946
|
+
'./SoundCloud-DbXtzk2K.js'
|
|
76947
76947
|
); }).then(function (n) { return n.SoundCloud; }))
|
|
76948
76948
|
},
|
|
76949
76949
|
{
|
|
@@ -76952,7 +76952,7 @@ function requirePlayers () {
|
|
|
76952
76952
|
canPlay: import_patterns.canPlay.vimeo,
|
|
76953
76953
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76954
76954
|
/* webpackChunkName: 'reactPlayerVimeo' */
|
|
76955
|
-
'./Vimeo-
|
|
76955
|
+
'./Vimeo-fdugXx1T.js'
|
|
76956
76956
|
); }).then(function (n) { return n.Vimeo; }))
|
|
76957
76957
|
},
|
|
76958
76958
|
{
|
|
@@ -76961,7 +76961,7 @@ function requirePlayers () {
|
|
|
76961
76961
|
canPlay: import_patterns.canPlay.mux,
|
|
76962
76962
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76963
76963
|
/* webpackChunkName: 'reactPlayerMux' */
|
|
76964
|
-
'./Mux-
|
|
76964
|
+
'./Mux-Cu2wtPwj.js'
|
|
76965
76965
|
); }).then(function (n) { return n.Mux; }))
|
|
76966
76966
|
},
|
|
76967
76967
|
{
|
|
@@ -76970,7 +76970,7 @@ function requirePlayers () {
|
|
|
76970
76970
|
canPlay: import_patterns.canPlay.facebook,
|
|
76971
76971
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76972
76972
|
/* webpackChunkName: 'reactPlayerFacebook' */
|
|
76973
|
-
'./Facebook-
|
|
76973
|
+
'./Facebook-a9zMZ4bZ.js'
|
|
76974
76974
|
); }).then(function (n) { return n.Facebook; }))
|
|
76975
76975
|
},
|
|
76976
76976
|
{
|
|
@@ -76979,7 +76979,7 @@ function requirePlayers () {
|
|
|
76979
76979
|
canPlay: import_patterns.canPlay.streamable,
|
|
76980
76980
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76981
76981
|
/* webpackChunkName: 'reactPlayerStreamable' */
|
|
76982
|
-
'./Streamable-
|
|
76982
|
+
'./Streamable-NMb7RlcH.js'
|
|
76983
76983
|
); }).then(function (n) { return n.Streamable; }))
|
|
76984
76984
|
},
|
|
76985
76985
|
{
|
|
@@ -76988,7 +76988,7 @@ function requirePlayers () {
|
|
|
76988
76988
|
canPlay: import_patterns.canPlay.wistia,
|
|
76989
76989
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76990
76990
|
/* webpackChunkName: 'reactPlayerWistia' */
|
|
76991
|
-
'./Wistia-
|
|
76991
|
+
'./Wistia-BKn9iZmC.js'
|
|
76992
76992
|
); }).then(function (n) { return n.Wistia; }))
|
|
76993
76993
|
},
|
|
76994
76994
|
{
|
|
@@ -76997,7 +76997,7 @@ function requirePlayers () {
|
|
|
76997
76997
|
canPlay: import_patterns.canPlay.twitch,
|
|
76998
76998
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
76999
76999
|
/* webpackChunkName: 'reactPlayerTwitch' */
|
|
77000
|
-
'./Twitch-
|
|
77000
|
+
'./Twitch-B5ZylcKE.js'
|
|
77001
77001
|
); }).then(function (n) { return n.Twitch; }))
|
|
77002
77002
|
},
|
|
77003
77003
|
{
|
|
@@ -77006,7 +77006,7 @@ function requirePlayers () {
|
|
|
77006
77006
|
canPlay: import_patterns.canPlay.dailymotion,
|
|
77007
77007
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77008
77008
|
/* webpackChunkName: 'reactPlayerDailyMotion' */
|
|
77009
|
-
'./DailyMotion-
|
|
77009
|
+
'./DailyMotion-CZtI_HFS.js'
|
|
77010
77010
|
); }).then(function (n) { return n.DailyMotion; }))
|
|
77011
77011
|
},
|
|
77012
77012
|
{
|
|
@@ -77015,7 +77015,7 @@ function requirePlayers () {
|
|
|
77015
77015
|
canPlay: import_patterns.canPlay.mixcloud,
|
|
77016
77016
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77017
77017
|
/* webpackChunkName: 'reactPlayerMixcloud' */
|
|
77018
|
-
'./Mixcloud-
|
|
77018
|
+
'./Mixcloud-KBq15mLA.js'
|
|
77019
77019
|
); }).then(function (n) { return n.Mixcloud; }))
|
|
77020
77020
|
},
|
|
77021
77021
|
{
|
|
@@ -77024,7 +77024,7 @@ function requirePlayers () {
|
|
|
77024
77024
|
canPlay: import_patterns.canPlay.vidyard,
|
|
77025
77025
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77026
77026
|
/* webpackChunkName: 'reactPlayerVidyard' */
|
|
77027
|
-
'./Vidyard-
|
|
77027
|
+
'./Vidyard-D6DP7LvX.js'
|
|
77028
77028
|
); }).then(function (n) { return n.Vidyard; }))
|
|
77029
77029
|
},
|
|
77030
77030
|
{
|
|
@@ -77033,7 +77033,7 @@ function requirePlayers () {
|
|
|
77033
77033
|
canPlay: import_patterns.canPlay.kaltura,
|
|
77034
77034
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77035
77035
|
/* webpackChunkName: 'reactPlayerKaltura' */
|
|
77036
|
-
'./Kaltura-
|
|
77036
|
+
'./Kaltura-D6CKVgz4.js'
|
|
77037
77037
|
); }).then(function (n) { return n.Kaltura; }))
|
|
77038
77038
|
},
|
|
77039
77039
|
{
|
|
@@ -77045,7 +77045,7 @@ function requirePlayers () {
|
|
|
77045
77045
|
},
|
|
77046
77046
|
lazyPlayer: (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77047
77047
|
/* webpackChunkName: 'reactPlayerFilePlayer' */
|
|
77048
|
-
'./FilePlayer-
|
|
77048
|
+
'./FilePlayer-xox0cwKA.js'
|
|
77049
77049
|
); }).then(function (n) { return n.FilePlayer; }))
|
|
77050
77050
|
}
|
|
77051
77051
|
];
|
|
@@ -77866,7 +77866,7 @@ function requireReactPlayer () {
|
|
|
77866
77866
|
var import_Player = __toESM(/*@__PURE__*/ requirePlayer());
|
|
77867
77867
|
const Preview = (0, import_utils.lazy)(() => Promise.resolve().then(function () { return require(
|
|
77868
77868
|
/* webpackChunkName: 'reactPlayerPreview' */
|
|
77869
|
-
'./Preview-
|
|
77869
|
+
'./Preview-BAdyr9MQ.js'
|
|
77870
77870
|
); }).then(function (n) { return n.Preview; }));
|
|
77871
77871
|
const IS_BROWSER = typeof window !== "undefined" && window.document && typeof document !== "undefined";
|
|
77872
77872
|
const IS_GLOBAL = typeof commonjsGlobal !== "undefined" && commonjsGlobal.window && commonjsGlobal.window.document;
|
|
@@ -78432,6 +78432,20 @@ var StyledPlaybackSpeedItem = dt.p(_templateObject3$3 || (_templateObject3$3 = _
|
|
|
78432
78432
|
fontStyle: 'bodyS'
|
|
78433
78433
|
});
|
|
78434
78434
|
|
|
78435
|
+
// Translation fallbacks for playback speed labels
|
|
78436
|
+
var getTranslationFallback = function getTranslationFallback(key) {
|
|
78437
|
+
var translations = {
|
|
78438
|
+
'general.playback_speed': 'Playback Speed',
|
|
78439
|
+
'playback_speed.2x': '2x',
|
|
78440
|
+
'playback_speed.1_75x': '1.75x',
|
|
78441
|
+
'playback_speed.1_5x': '1.5x',
|
|
78442
|
+
'playback_speed.1_25x': '1.25x',
|
|
78443
|
+
'playback_speed.1x': '1x',
|
|
78444
|
+
'playback_speed.0_75x': '0.75x',
|
|
78445
|
+
'playback_speed.0_5x': '0.5x'
|
|
78446
|
+
};
|
|
78447
|
+
return translations[key] || key;
|
|
78448
|
+
};
|
|
78435
78449
|
var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
78436
78450
|
var playbackSpeed = _ref.playbackSpeed,
|
|
78437
78451
|
onPlaybackSpeedChange = _ref.onPlaybackSpeedChange,
|
|
@@ -78444,8 +78458,6 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78444
78458
|
isMenuActive = _useMenuToggle.isVisible,
|
|
78445
78459
|
menuPosition = _useMenuToggle.menuPosition,
|
|
78446
78460
|
toggleMenu = _useMenuToggle.toggleMenu;
|
|
78447
|
-
var _useTranslation = useTranslation(),
|
|
78448
|
-
t = _useTranslation.t;
|
|
78449
78461
|
return require$$2$2.jsxs(StyledPlaybackMenuWrapper, {
|
|
78450
78462
|
ref: menuRef,
|
|
78451
78463
|
className: menuWrapperClassName,
|
|
@@ -78457,7 +78469,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78457
78469
|
"$position": menuPosition,
|
|
78458
78470
|
style: customMenuStyles,
|
|
78459
78471
|
children: [require$$2$2.jsx("h2", {
|
|
78460
|
-
children:
|
|
78472
|
+
children: getTranslationFallback('general.playback_speed')
|
|
78461
78473
|
}), PLAYBACK_SPEED_LIST.map(function (_ref2, index) {
|
|
78462
78474
|
var label = _ref2.label,
|
|
78463
78475
|
value = _ref2.value;
|
|
@@ -78466,7 +78478,7 @@ var PlaybackSpeedMenu = function PlaybackSpeedMenu(_ref) {
|
|
|
78466
78478
|
onPlaybackSpeedChange(value);
|
|
78467
78479
|
toggleMenu();
|
|
78468
78480
|
},
|
|
78469
|
-
children: [
|
|
78481
|
+
children: [getTranslationFallback(label), value === playbackSpeed && require$$2$2.jsx(VideoCheckmarkIcon, {})]
|
|
78470
78482
|
}, index);
|
|
78471
78483
|
})]
|
|
78472
78484
|
})]
|