zarebin-player-library 1.0.22 → 1.0.23
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.
|
@@ -10639,8 +10639,7 @@
|
|
|
10639
10639
|
.dvh {
|
|
10640
10640
|
height: 100dvh !important;
|
|
10641
10641
|
}
|
|
10642
|
-
}
|
|
10643
|
-
body {
|
|
10642
|
+
}#video-player-container {
|
|
10644
10643
|
padding: 0;
|
|
10645
10644
|
margin: 0;
|
|
10646
10645
|
font-family:
|
|
@@ -12273,7 +12272,7 @@ video {
|
|
|
12273
12272
|
background-color: rgb(0 0 0 / 0.8) !important;
|
|
12274
12273
|
}.\!pl-bg-dark-1{
|
|
12275
12274
|
--tw-bg-opacity: 1 !important;
|
|
12276
|
-
background-color: rgb(
|
|
12275
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)) !important;
|
|
12277
12276
|
}.\!pl-bg-dark-3{
|
|
12278
12277
|
--tw-bg-opacity: 1 !important;
|
|
12279
12278
|
background-color: rgb(48 48 52 / var(--tw-bg-opacity, 1)) !important;
|
|
@@ -12317,7 +12316,7 @@ video {
|
|
|
12317
12316
|
background-color: rgb(0 0 0 / 0.7);
|
|
12318
12317
|
}.pl-bg-dark-1{
|
|
12319
12318
|
--tw-bg-opacity: 1;
|
|
12320
|
-
background-color: rgb(
|
|
12319
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
12321
12320
|
}.pl-bg-dark-2{
|
|
12322
12321
|
--tw-bg-opacity: 1;
|
|
12323
12322
|
background-color: rgb(44 44 44 / var(--tw-bg-opacity, 1));
|
|
@@ -12469,7 +12468,7 @@ video {
|
|
|
12469
12468
|
}.\!pl-bg-no-repeat{
|
|
12470
12469
|
background-repeat: no-repeat !important;
|
|
12471
12470
|
}.pl-fill-dark-1{
|
|
12472
|
-
fill: #
|
|
12471
|
+
fill: #000;
|
|
12473
12472
|
}.pl-fill-dark-4{
|
|
12474
12473
|
fill: #919094;
|
|
12475
12474
|
}.pl-fill-dark-5{
|
|
@@ -13245,7 +13244,7 @@ video {
|
|
|
13245
13244
|
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)) !important;
|
|
13246
13245
|
}.dark\:\!pl-bg-dark-1:is(.pl-dark *){
|
|
13247
13246
|
--tw-bg-opacity: 1 !important;
|
|
13248
|
-
background-color: rgb(
|
|
13247
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1)) !important;
|
|
13249
13248
|
}.dark\:\!pl-bg-dark-13:is(.pl-dark *){
|
|
13250
13249
|
--tw-bg-opacity: 1 !important;
|
|
13251
13250
|
background-color: rgb(28 27 31 / var(--tw-bg-opacity, 1)) !important;
|
|
@@ -13264,9 +13263,9 @@ video {
|
|
|
13264
13263
|
background-color: rgb(0 0 0 / 0.7);
|
|
13265
13264
|
}.dark\:pl-bg-dark-1:is(.pl-dark *){
|
|
13266
13265
|
--tw-bg-opacity: 1;
|
|
13267
|
-
background-color: rgb(
|
|
13266
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
13268
13267
|
}.dark\:pl-bg-dark-1\/\[0\.8\]:is(.pl-dark *){
|
|
13269
|
-
background-color: rgb(
|
|
13268
|
+
background-color: rgb(0 0 0 / 0.8);
|
|
13270
13269
|
}.dark\:pl-bg-dark-2:is(.pl-dark *){
|
|
13271
13270
|
--tw-bg-opacity: 1;
|
|
13272
13271
|
background-color: rgb(44 44 44 / var(--tw-bg-opacity, 1));
|
|
@@ -13434,7 +13433,7 @@ video {
|
|
|
13434
13433
|
color: rgb(188 189 192 / var(--tw-text-opacity, 1));
|
|
13435
13434
|
}.odd\:dark\:pl-bg-dark-1:is(.pl-dark *):nth-child(odd){
|
|
13436
13435
|
--tw-bg-opacity: 1;
|
|
13437
|
-
background-color: rgb(
|
|
13436
|
+
background-color: rgb(0 0 0 / var(--tw-bg-opacity, 1));
|
|
13438
13437
|
}.dark\:hover\:pl-bg-dark-10\/\[0\.9\]:hover:is(.pl-dark *){
|
|
13439
13438
|
background-color: rgb(56 56 56 / 0.9);
|
|
13440
13439
|
}.dark\:hover\:pl-bg-z-gray-700:hover:is(.pl-dark *){
|
|
@@ -12326,13 +12326,9 @@ var ThemeProvider = ({ children }) => {
|
|
|
12326
12326
|
localStorage.setItem("theme", newTheme);
|
|
12327
12327
|
document.documentElement.classList.toggle("dark", newTheme === "dark");
|
|
12328
12328
|
};
|
|
12329
|
-
const toggleTheme = () => {
|
|
12330
|
-
setTheme(theme === "light" ? "dark" : "light");
|
|
12331
|
-
};
|
|
12332
12329
|
const value = useMemo(() => ({
|
|
12333
12330
|
theme,
|
|
12334
|
-
setTheme
|
|
12335
|
-
toggleTheme
|
|
12331
|
+
setTheme
|
|
12336
12332
|
}), [theme]);
|
|
12337
12333
|
return /* @__PURE__ */ jsx(ThemeContext.Provider, {
|
|
12338
12334
|
value,
|
|
@@ -81878,7 +81874,11 @@ var VideoPlayer = ({ params }) => {
|
|
|
81878
81874
|
position: "bottom-right",
|
|
81879
81875
|
autoClose: 3e3,
|
|
81880
81876
|
theme: conditions(ConditionName.isDarkMode) ? "dark" : "light"
|
|
81881
|
-
}),
|
|
81877
|
+
}), /* @__PURE__ */ jsx("div", {
|
|
81878
|
+
id: "video-player-container",
|
|
81879
|
+
className: "pl-h-full pl-w-full",
|
|
81880
|
+
children: element
|
|
81881
|
+
})] });
|
|
81882
81882
|
};
|
|
81883
81883
|
//#endregion
|
|
81884
81884
|
//#region src/videoPlayerLibrary/videoPlayerLibrary.tsx
|