Merge branches 'main' and 'main' of https://gitlab.com/hanifsalafi/mediahub_redesign into prod
This commit is contained in:
commit
541f9b6004
|
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue