@mottosports/motto-video-player 1.0.1-rc.47 → 1.0.1-rc.49
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/index.js +4 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -18
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -989,13 +989,6 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
989
989
|
margin-left: auto !important;
|
|
990
990
|
margin-right: auto !important;
|
|
991
991
|
}
|
|
992
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
|
|
993
|
-
margin-left: 12px !important;
|
|
994
|
-
}
|
|
995
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
|
|
996
|
-
margin-left: 0 !important;
|
|
997
|
-
margin-right: 12px !important;
|
|
998
|
-
}
|
|
999
992
|
html[dir=rtl] .shaka-controls-container,
|
|
1000
993
|
html[dir=rtl] .shaka-bottom-controls,
|
|
1001
994
|
html[dir=rtl] .shaka-controls-button-panel {
|
|
@@ -1183,7 +1176,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1183
1176
|
import initShakaPlayerMux from "@mux/mux-data-shakaplayer";
|
|
1184
1177
|
|
|
1185
1178
|
// package.json
|
|
1186
|
-
var version = "1.0.1-rc.
|
|
1179
|
+
var version = "1.0.1-rc.49";
|
|
1187
1180
|
|
|
1188
1181
|
// src/utils/licenseCache.ts
|
|
1189
1182
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -3443,13 +3436,6 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
3443
3436
|
margin-left: auto !important;
|
|
3444
3437
|
margin-right: auto !important;
|
|
3445
3438
|
}
|
|
3446
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
|
|
3447
|
-
margin-left: 12px !important;
|
|
3448
|
-
}
|
|
3449
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
|
|
3450
|
-
margin-left: 0 !important;
|
|
3451
|
-
margin-right: 12px !important;
|
|
3452
|
-
}
|
|
3453
3439
|
html[dir=rtl] .shaka-controls-container,
|
|
3454
3440
|
html[dir=rtl] .shaka-bottom-controls,
|
|
3455
3441
|
html[dir=rtl] .shaka-controls-button-panel {
|
|
@@ -3776,7 +3762,7 @@ var Player = forwardRef(
|
|
|
3776
3762
|
getMuxMonitor: () => null
|
|
3777
3763
|
}), [getAvailableQualities, setQuality, skipBack, skipForward, updateMuxData]);
|
|
3778
3764
|
const isResponsive = !width && !height;
|
|
3779
|
-
const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black");
|
|
3765
|
+
const containerClasses = twMerge2(containerClassName, "motto-video-container bg-black overflow-hidden md:rounded-2xl");
|
|
3780
3766
|
const containerStyle = isResponsive ? {
|
|
3781
3767
|
aspectRatio: aspectRatio.toString()
|
|
3782
3768
|
} : { width, height };
|
|
@@ -4885,12 +4871,12 @@ var CreativeWork = ({
|
|
|
4885
4871
|
}
|
|
4886
4872
|
if (activeVideoId && activePlaylist && !loadingPlaylist) {
|
|
4887
4873
|
const activeVideo = videosData?.find((video) => video.id === activeVideoId);
|
|
4888
|
-
return /* @__PURE__ */ jsx11("div", { className: twMerge5("
|
|
4874
|
+
return /* @__PURE__ */ jsx11("div", { className: twMerge5("", className), children: /* @__PURE__ */ jsxs9("div", { className: "relative w-full h-full", children: [
|
|
4889
4875
|
/* @__PURE__ */ jsx11(
|
|
4890
4876
|
Player,
|
|
4891
4877
|
{
|
|
4892
4878
|
...props,
|
|
4893
|
-
className: twMerge5(className, "peer"),
|
|
4879
|
+
className: twMerge5(className, "peer aspect-video"),
|
|
4894
4880
|
events: {
|
|
4895
4881
|
...events
|
|
4896
4882
|
},
|