mirror of
https://github.com/dergigi/boris.git
synced 2025-12-24 01:54:19 +01:00
fix(video): implement proper react-player responsive pattern from docs
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user