@salina-app/media-editor 0.0.81 → 0.0.82
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 +9 -6
- 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(() =>
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1714
|
+
n((e) => {
|
|
1715
|
+
var t, r, i, a;
|
|
1716
|
+
return e.playerRef && ((r = (t = e.playerRef) == null ? void 0 : t.pause) == null || r.call(t), (a = (i = e.playerRef) == null ? void 0 : i.currentTime) == null || a.call(i, 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] = zn(0), {
|