Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
TheAlan404 committed May 7, 2024
1 parent c70f409 commit c792f1d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/components/player/VideoPlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ export const VideoPlayer = () => {

useEffect(() => {
videoContainerRef.current?.appendChild(videoElement);
if(!!videoElement.currentTime) videoElement.play();
return () => {
videoElement.pause();
};
Expand Down

0 comments on commit c792f1d

Please sign in to comment.