refactor: rewrite video player

This commit is contained in:
Prayag Prajapati committed 2025-06-27 16:55:17 +05:30
1 parent 0f5482627a
commit 7b0b22b611
34 files changed
+3766 -3007

No files matched your search

@@ -0,0 +1,20 @@
import { IconButton } from "@mui/material";
import React from "react";
import { useShallow } from "zustand/shallow";
import { usePlaybackStore } from "@/utils/store/playback";
const ForwardButton = () => {
const { seekForward } = usePlaybackStore(
useShallow((state) => ({
seekForward: state.seekForward,
})),
);
return (
<IconButton onClick={() => seekForward(15)}>
<span className="material-symbols-rounded fill">fast_forward</span>
</IconButton>
);
};
export default ForwardButton;