@salina-app/media-editor 0.0.78 → 0.0.79

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.
Files changed (2) hide show
  1. package/dist/index.js +10 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1711,12 +1711,15 @@ const bQ = (n) => {
1711
1711
  // isFullscreen: false,
1712
1712
  // setIsFullscreen: (value: boolean) => set({ isFullscreen: value }),
1713
1713
  resetPlayerState: () => {
1714
- n((e) => (e.playerRef && (e.playerRef.pause(), e.playerRef.currentTime(0)), {
1715
- videoCurrentTime: 0,
1716
- videoDuration: 0,
1717
- videoIsPlaying: !1,
1718
- videoIsReady: !1
1719
- }));
1714
+ n((e) => {
1715
+ var t, r;
1716
+ return e.playerRef && ((t = e.playerRef) == null || t.pause(), (r = e.playerRef) == null || r.currentTime(0)), {
1717
+ videoCurrentTime: 0,
1718
+ videoDuration: 0,
1719
+ videoIsPlaying: !1,
1720
+ videoIsReady: !1
1721
+ };
1722
+ });
1720
1723
  }
1721
1724
  })), n_e = ({ onCut: n }) => {
1722
1725
  const [e, t] = Hn(0), {
@@ -81017,7 +81020,7 @@ const H0e = ({ className: n }) => /* @__PURE__ */ yt(
81017
81020
  }
81018
81021
  };
81019
81022
  m(), _(), R(""), S(""), x([]), O();
81020
- }, []), /* @__PURE__ */ yt("div", { className: ht("h-full rounded-lg border border-gray-500", r), children: [
81023
+ }, [e]), /* @__PURE__ */ yt("div", { className: ht("h-full rounded-lg border border-gray-500", r), children: [
81021
81024
  /* @__PURE__ */ yt("div", { className: "flex justify-between border-b border-b-gray-500 px-3 py-2", children: [
81022
81025
  /* @__PURE__ */ Z(
81023
81026
  T9,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salina-app/media-editor",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/main.d.ts",