From 2d0bcaeeeffef4e6ed6f445378b9729e70901f61 Mon Sep 17 00:00:00 2001
From: real-zephex <zephex-1@outlook.com>
Date: Sat, 25 May 2024 16:58:02 +0530
Subject: =?UTF-8?q?=F0=9F=9A=80=20refactor(movie):=20revamped=20movie=20se?=
 =?UTF-8?q?ction?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 src/app/movies/components/videoPlayer.jsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/app/movies/components/videoPlayer.jsx

(limited to 'src/app/movies/components/videoPlayer.jsx')

diff --git a/src/app/movies/components/videoPlayer.jsx b/src/app/movies/components/videoPlayer.jsx
new file mode 100644
index 0000000..b7cdd81
--- /dev/null
+++ b/src/app/movies/components/videoPlayer.jsx
@@ -0,0 +1,17 @@
+const MovieVideoPlayer = async ({ id: id }) => {
+	const videoFrameGenerator = (id) => {
+		return (
+			<iframe
+				src={`https://vidsrc.pro/embed/movie/${id}`}
+				allowFullScreen
+				referrerPolicy="origin"
+				height={720}
+				className="w-full h-[240px] lg:h-[720px]"
+			></iframe>
+		);
+	};
+
+	return <section>{videoFrameGenerator(id)}</section>;
+};
+
+export default MovieVideoPlayer;
-- 
cgit v1.2.3

