mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 23:43:52 +08:00
fix: fullscreen player fills modal instead of using portrait 16:9 dimensions
This commit is contained in:
@@ -98,6 +98,7 @@ export function VideoPlayer({ playData, qualities, currentQn, onQualityChange, o
|
|||||||
isFullscreen={true}
|
isFullscreen={true}
|
||||||
initialTime={lastTimeRef.current}
|
initialTime={lastTimeRef.current}
|
||||||
onTimeUpdate={(t) => { lastTimeRef.current = t; onTimeUpdate?.(t); }}
|
onTimeUpdate={(t) => { lastTimeRef.current = t; onTimeUpdate?.(t); }}
|
||||||
|
style={{ width: '100%', height: '100%' }}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
</Modal>
|
</Modal>
|
||||||
|
|||||||
Reference in New Issue
Block a user