@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.js
CHANGED
|
@@ -1030,13 +1030,6 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
1030
1030
|
margin-left: auto !important;
|
|
1031
1031
|
margin-right: auto !important;
|
|
1032
1032
|
}
|
|
1033
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
|
|
1034
|
-
margin-left: 12px !important;
|
|
1035
|
-
}
|
|
1036
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
|
|
1037
|
-
margin-left: 0 !important;
|
|
1038
|
-
margin-right: 12px !important;
|
|
1039
|
-
}
|
|
1040
1033
|
html[dir=rtl] .shaka-controls-container,
|
|
1041
1034
|
html[dir=rtl] .shaka-bottom-controls,
|
|
1042
1035
|
html[dir=rtl] .shaka-controls-button-panel {
|
|
@@ -1224,7 +1217,7 @@ var supportsWidevinePersistentLicenses = () => {
|
|
|
1224
1217
|
var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
|
|
1225
1218
|
|
|
1226
1219
|
// package.json
|
|
1227
|
-
var version = "1.0.1-rc.
|
|
1220
|
+
var version = "1.0.1-rc.49";
|
|
1228
1221
|
|
|
1229
1222
|
// src/utils/licenseCache.ts
|
|
1230
1223
|
var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
|
|
@@ -3484,13 +3477,6 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
|
|
|
3484
3477
|
margin-left: auto !important;
|
|
3485
3478
|
margin-right: auto !important;
|
|
3486
3479
|
}
|
|
3487
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
|
|
3488
|
-
margin-left: 12px !important;
|
|
3489
|
-
}
|
|
3490
|
-
.shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
|
|
3491
|
-
margin-left: 0 !important;
|
|
3492
|
-
margin-right: 12px !important;
|
|
3493
|
-
}
|
|
3494
3480
|
html[dir=rtl] .shaka-controls-container,
|
|
3495
3481
|
html[dir=rtl] .shaka-bottom-controls,
|
|
3496
3482
|
html[dir=rtl] .shaka-controls-button-panel {
|
|
@@ -3817,7 +3803,7 @@ var Player = (0, import_react12.forwardRef)(
|
|
|
3817
3803
|
getMuxMonitor: () => null
|
|
3818
3804
|
}), [getAvailableQualities, setQuality, skipBack, skipForward, updateMuxData]);
|
|
3819
3805
|
const isResponsive = !width && !height;
|
|
3820
|
-
const containerClasses = (0, import_tailwind_merge2.twMerge)(containerClassName, "motto-video-container bg-black");
|
|
3806
|
+
const containerClasses = (0, import_tailwind_merge2.twMerge)(containerClassName, "motto-video-container bg-black overflow-hidden md:rounded-2xl");
|
|
3821
3807
|
const containerStyle = isResponsive ? {
|
|
3822
3808
|
aspectRatio: aspectRatio.toString()
|
|
3823
3809
|
} : { width, height };
|
|
@@ -4926,12 +4912,12 @@ var CreativeWork = ({
|
|
|
4926
4912
|
}
|
|
4927
4913
|
if (activeVideoId && activePlaylist && !loadingPlaylist) {
|
|
4928
4914
|
const activeVideo = videosData?.find((video) => video.id === activeVideoId);
|
|
4929
|
-
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("
|
|
4915
|
+
return /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { className: (0, import_tailwind_merge5.twMerge)("", className), children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { className: "relative w-full h-full", children: [
|
|
4930
4916
|
/* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
|
|
4931
4917
|
Player,
|
|
4932
4918
|
{
|
|
4933
4919
|
...props,
|
|
4934
|
-
className: (0, import_tailwind_merge5.twMerge)(className, "peer"),
|
|
4920
|
+
className: (0, import_tailwind_merge5.twMerge)(className, "peer aspect-video"),
|
|
4935
4921
|
events: {
|
|
4936
4922
|
...events
|
|
4937
4923
|
},
|