fix movie trailers quality in hero section remove scaling

This commit is contained in:
chrisk325 2026-03-06 02:13:06 +05:30 committed by GitHub
parent 642f4ce7aa
commit 33fa8a0826
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,