mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-03-11 09:35:42 +00:00
fix movie trailers quality in hero section remove scaling
This commit is contained in:
parent
642f4ce7aa
commit
33fa8a0826
1 changed files with 3 additions and 8 deletions
|
|
@ -385,11 +385,8 @@ const TrailerPlayer = React.forwardRef<any, TrailerPlayerProps>(({
|
|||
}
|
||||
return { uri: trailerUrl } as any;
|
||||
})()}
|
||||
style={[
|
||||
styles.video,
|
||||
contentType === 'movie' && styles.movieVideoScale,
|
||||
]}
|
||||
resizeMode="cover"
|
||||
style={styles.video}
|
||||
resizeMode="contain"
|
||||
paused={!isPlaying}
|
||||
repeat={false}
|
||||
muted={isMuted}
|
||||
|
|
@ -519,9 +516,7 @@ const styles = StyleSheet.create({
|
|||
width: '100%',
|
||||
height: '100%',
|
||||
},
|
||||
movieVideoScale: {
|
||||
transform: [{ scale: 1.30 }], // Custom scale for movies to crop black bars
|
||||
},
|
||||
|
||||
videoOverlay: {
|
||||
position: 'absolute',
|
||||
top: 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue