diff options
| author | real-zephex <[email protected]> | 2024-06-07 09:55:23 +0530 |
|---|---|---|
| committer | real-zephex <[email protected]> | 2024-06-07 09:55:23 +0530 |
| commit | bdd48555bf59552864d5a59a3ee43291e4136b47 (patch) | |
| tree | dc3ab66ac60fe715b79c17843f9e87646aaae93a /src/app/web-series/components/videoPlayer.jsx | |
| parent | Delete src/app/globals.module.css (diff) | |
| download | dramalama-bdd48555bf59552864d5a59a3ee43291e4136b47.tar.xz dramalama-bdd48555bf59552864d5a59a3ee43291e4136b47.zip | |
🚀 feat(ui): added manga with better UI
Diffstat (limited to 'src/app/web-series/components/videoPlayer.jsx')
| -rw-r--r-- | src/app/web-series/components/videoPlayer.jsx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/app/web-series/components/videoPlayer.jsx b/src/app/web-series/components/videoPlayer.jsx index 50a703d..49f44f5 100644 --- a/src/app/web-series/components/videoPlayer.jsx +++ b/src/app/web-series/components/videoPlayer.jsx @@ -16,11 +16,11 @@ const SeriesVideoPlayer = ({ id: id }) => { const VideoFrameGenerator = (sea, epi) => { return ( <iframe - src={`https://vidsrc.pro/embed/tv/${id}/${sea}/${epi}`} + src={`https://vidsrc.pro/embed/tv/${id}/${sea}/${epi}?player=new`} allowFullScreen referrerPolicy="origin" height={720} - className="w-full h-[240px] lg:h-[720px]" + className="h-[240px] w-full rounded-md lg:h-[720px]" ></iframe> ); }; @@ -28,7 +28,7 @@ const SeriesVideoPlayer = ({ id: id }) => { function renderVideoFrame() { if (seasonNumber === "" || episodeNumber === "") { alert( - "Make sure that you have entered the episode number and the season number." + "Make sure that you have entered the episode number and the season number.", ); return; } @@ -39,7 +39,7 @@ const SeriesVideoPlayer = ({ id: id }) => { return ( <div> {videoFrame} - <div className="flex w-full items-center md:flex-nowrap gap-2 mt-2"> + <div className="mt-2 flex w-full items-center gap-2 md:flex-nowrap"> <Input type="number" label="Season" |