@layers-app/editor-video 0.1.11 → 0.1.13

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
@@ -4468,7 +4468,6 @@ function VideoPlayerState({
4468
4468
  }, [onPlayerInfo, optimizedReady, hlsFailed, currentVideoUrl, currentNativeVideoUrl, activeVideoElement]);
4469
4469
  useEffect(() => {
4470
4470
  var _a;
4471
- console.log("[Cover] posterUrl effect:", posterUrl);
4472
4471
  const nativeVideo = nativeVideoRef.current;
4473
4472
  if (nativeVideo) {
4474
4473
  nativeVideo.poster = posterUrl || "";
@@ -5429,7 +5428,7 @@ function VideoUploadComponent({
5429
5428
  onStateChange == null ? void 0 : onStateChange(currentState);
5430
5429
  }, [currentState, onStateChange]);
5431
5430
  const renderState = () => {
5432
- var _a2, _b2;
5431
+ var _a2;
5433
5432
  if (sourceType === "link" && currentState !== "video-preview") {
5434
5433
  return /* @__PURE__ */ jsx(
5435
5434
  LinkState,
@@ -5523,7 +5522,6 @@ function VideoUploadComponent({
5523
5522
  ) });
5524
5523
  }
5525
5524
  const effectivePoster = posterUrl ?? ((_a2 = resolvedStatus == null ? void 0 : resolvedStatus.cover) == null ? void 0 : _a2.url) ?? null;
5526
- console.log("[Cover] VideoUploadComponent render: posterUrl prop=", posterUrl, "cover.url=", (_b2 = resolvedStatus == null ? void 0 : resolvedStatus.cover) == null ? void 0 : _b2.url, "effective=", effectivePoster);
5527
5525
  return /* @__PURE__ */ jsx(
5528
5526
  VideoPlayerState,
5529
5527
  {
@@ -5598,7 +5596,8 @@ function VideoUploadComponent({
5598
5596
  },
5599
5597
  rightSectionWidth: 32,
5600
5598
  comboboxProps: {
5601
- position: "bottom-start"
5599
+ position: "bottom-start",
5600
+ width: 237
5602
5601
  },
5603
5602
  onChange: (value) => {
5604
5603
  if (value) {
@@ -7283,7 +7282,6 @@ function VideoBlock({
7283
7282
  };
7284
7283
  const handlePosterChange = useCallback(
7285
7284
  (posterUrl2) => {
7286
- console.log("[Cover] handlePosterChange: setting posterUrl=", posterUrl2);
7287
7285
  setPosterUrl(posterUrl2);
7288
7286
  setVideoPoster(editor, nodeKey, posterUrl2);
7289
7287
  },