@mottosports/motto-video-player 1.0.1-rc.45 → 1.0.1-rc.46

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 CHANGED
@@ -1030,6 +1030,13 @@ 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
+ }
1033
1040
  @property --tw-gradient-position { syntax: "*"; inherits: false; }
1034
1041
  @property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
1035
1042
  @property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
@@ -1199,7 +1206,7 @@ var supportsWidevinePersistentLicenses = () => {
1199
1206
  var import_mux_data_shakaplayer = __toESM(require("@mux/mux-data-shakaplayer"));
1200
1207
 
1201
1208
  // package.json
1202
- var version = "1.0.1-rc.45";
1209
+ var version = "1.0.1-rc.46";
1203
1210
 
1204
1211
  // src/utils/licenseCache.ts
1205
1212
  var PERSISTENT_LICENSE_PREFIX = "motto_lic_";
@@ -3459,6 +3466,13 @@ styleInject(`/*! tailwindcss v4.1.8 | MIT License | https://tailwindcss.com */
3459
3466
  margin-left: auto !important;
3460
3467
  margin-right: auto !important;
3461
3468
  }
3469
+ .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:not(:first-child) {
3470
+ margin-left: 12px !important;
3471
+ }
3472
+ .shaka-overflow-menu .shaka-overflow-button .material-svg-icon:first-child {
3473
+ margin-left: 0 !important;
3474
+ margin-right: 12px !important;
3475
+ }
3462
3476
  @property --tw-gradient-position { syntax: "*"; inherits: false; }
3463
3477
  @property --tw-gradient-from { syntax: "<color>"; inherits: false; initial-value: #0000; }
3464
3478
  @property --tw-gradient-via { syntax: "<color>"; inherits: false; initial-value: #0000; }
@@ -3695,32 +3709,6 @@ var Player = (0, import_react12.forwardRef)(
3695
3709
  }
3696
3710
  }
3697
3711
  };
3698
- const initializeChromecast = () => {
3699
- try {
3700
- if (typeof window !== "undefined" && window.chrome?.cast) {
3701
- const castContext = window.chrome.cast.CastContext.getInstance();
3702
- if (castContext) {
3703
- castContext.setOptions({
3704
- receiverApplicationId: chromecastConfig?.receiverApplicationId || "CC1AD845"
3705
- // Default Media Receiver
3706
- });
3707
- castContext.addEventListener("caststatechanged", (event) => {
3708
- const isCasting = event.castState === "CONNECTED";
3709
- events?.onCastStateChange?.(isCasting);
3710
- });
3711
- }
3712
- } else {
3713
- if (events?.onCastStateChange) {
3714
- setTimeout(() => events.onCastStateChange(false), 100);
3715
- }
3716
- }
3717
- } catch (error) {
3718
- console.warn("Chromecast initialization failed:", error);
3719
- if (events?.onCastStateChange) {
3720
- setTimeout(() => events.onCastStateChange(false), 100);
3721
- }
3722
- }
3723
- };
3724
3712
  (0, import_react12.useEffect)(() => {
3725
3713
  const video = videoRef.current;
3726
3714
  if (!video) return;
@@ -3732,7 +3720,6 @@ var Player = (0, import_react12.forwardRef)(
3732
3720
  configureQuality();
3733
3721
  await initializeUI();
3734
3722
  initializeAds();
3735
- initializeChromecast();
3736
3723
  } catch (error) {
3737
3724
  console.error("Error during player initialization:", error);
3738
3725
  handleMuxError(error);