diff --git a/components/video/FullPageVideo.tsx b/components/video/FullPageVideo.tsx index a473cc84..eb7bb718 100644 --- a/components/video/FullPageVideo.tsx +++ b/components/video/FullPageVideo.tsx @@ -1,8 +1,10 @@ -import ReactPlayer from "react-player/lazy"; +import dynamic from "next/dynamic"; import type { ReactPlayerProps } from "react-player"; import styles from "./FullPageVideo.module.scss"; +const ReactPlayer = dynamic(() => import("react-player")); + const FullPageVideo = (props: ReactPlayerProps) => (