aboutsummaryrefslogtreecommitdiff
path: root/src/app/video
diff options
context:
space:
mode:
authorreal-zephex <[email protected]>2024-03-16 16:01:17 +0530
committerreal-zephex <[email protected]>2024-03-16 16:01:17 +0530
commit77a85a47c18f14315ebe7f99a8b5218821e9c290 (patch)
tree937acd0651327525c3712a6644121ca3127352ca /src/app/video
parentvercel fix (diff)
downloaddramalama-77a85a47c18f14315ebe7f99a8b5218821e9c290.tar.xz
dramalama-77a85a47c18f14315ebe7f99a8b5218821e9c290.zip
minor fixes: tried to make the video player responsive but failed
Diffstat (limited to 'src/app/video')
-rw-r--r--src/app/video/[animeId]/page.js5
-rw-r--r--src/app/video/video.css4
2 files changed, 5 insertions, 4 deletions
diff --git a/src/app/video/[animeId]/page.js b/src/app/video/[animeId]/page.js
index b013269..af7e690 100644
--- a/src/app/video/[animeId]/page.js
+++ b/src/app/video/[animeId]/page.js
@@ -37,11 +37,12 @@ export default function Video({ params }) {
<div className='video2'>
<p>{epi[0]} - {epi[1]}</p>
<ReactPlayer
+ className='react-player'
url={videoLink}
controls
autoplay
- width={400}
- height={"auto"}
+ width="95%"
+ height="95%"
/>
</div>
)}
diff --git a/src/app/video/video.css b/src/app/video/video.css
index 7cd537d..a75054b 100644
--- a/src/app/video/video.css
+++ b/src/app/video/video.css
@@ -6,7 +6,7 @@
}
.video2 video {
- border-radius: 10px;
+ border-radius: 5px;
}
.video2 p {
@@ -20,4 +20,4 @@
.video2 p {
color: black;
}
-} \ No newline at end of file
+}