fix(video): implement proper react-player responsive pattern from docs

This commit is contained in:
Gigi
2025-10-13 19:12:59 +02:00
parent 9d27595d31
commit 75c4e20dc9
2 changed files with 5 additions and 13 deletions

View File

@@ -385,7 +385,8 @@ const ContentPanel: React.FC<ContentPanelProps> = ({
url={selectedUrl as string}
controls
width="100%"
height="100%"
height="100%"
style={{ position: 'absolute', top: 0, left: 0 }}
onDuration={(d) => setVideoDurationSec(Math.floor(d))}
/>
</div>