fix: detail video vertical

This commit is contained in:
Sabda Yagra 2025-08-04 10:38:49 +07:00
parent a1bcadec86
commit 16c469f72c
2 changed files with 2 additions and 2 deletions

View File

@ -474,7 +474,7 @@ const DetailVideo = () => {
</div> */} </div> */}
<div className="relative max-h-screen overflow-hidden"> <div className="relative max-h-screen overflow-hidden">
<div className="w-full max-h-screen aspect-video"> <div className="w-full max-h-screen aspect-video">
<div className="w-full h-full"> <div className="w-full h-full object-contain">
<VideoPlayer <VideoPlayer
url={detailDataVideo?.files[selectedVideo]?.url} url={detailDataVideo?.files[selectedVideo]?.url}
/> />

View File

@ -10,7 +10,7 @@ const VideoPlayer: React.FC<VideoPlayerProps> = ({ url }) => {
<ReactPlayer <ReactPlayer
className="react-player" className="react-player"
width="100%" width="100%"
height="auto" height="100%"
playing playing
pip pip
controls controls