mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-19 05:45:41 +00:00
Buffer Indicator behaviour fix while controls are hidden
This commit is contained in:
parent
de576915d5
commit
c6b45340ba
2 changed files with 2 additions and 2 deletions
|
|
@ -883,7 +883,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
|
||||
{/* Buffering Indicator (Visible when controls are hidden) */}
|
||||
{playerState.isBuffering && !playerState.showControls && (
|
||||
<View style={[StyleSheet.absoluteFill, { justifyContent: 'center', alignItems: 'center', zIndex: 15 }]}>
|
||||
<View pointerEvents="none" style={[StyleSheet.absoluteFill, { justifyContent: 'center', alignItems: 'center', zIndex: 15 }]}>
|
||||
<ActivityIndicator size="large" color="#FFFFFF" />
|
||||
</View>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -825,7 +825,7 @@ const KSPlayerCore: React.FC = () => {
|
|||
<View pointerEvents="box-none" style={StyleSheet.absoluteFill}>
|
||||
{/* Buffering Indicator (Visible when controls are hidden) */}
|
||||
{isBuffering && !showControls && (
|
||||
<View style={[StyleSheet.absoluteFill, { justifyContent: 'center', alignItems: 'center', zIndex: 15 }]}>
|
||||
<View pointerEvents="none" style={[StyleSheet.absoluteFill, { justifyContent: 'center', alignItems: 'center', zIndex: 15 }]}>
|
||||
<ActivityIndicator size="large" color="#FFFFFF" />
|
||||
</View>
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue