TheWidlarzGroup / react-native-video

A <Video /> component for react-native
http://thewidlarzgroup.github.io/react-native-video/
MIT License
7.14k stars 2.88k forks source link

[BUG]: Video's aspect ratio changing on video's repeat on android #4187

Open ElChawich opened 4 hours ago

ElChawich commented 4 hours ago

Version

6.6.1

What platforms are you having the problem on?

Android

System Version

Android Version 14 One Ui 6.1

On what device are you experiencing the issue?

Real device

Architecture

Old architecture

What happened?

After updating to version 6.6.1, on android when a video repeats its changing the aspect ratio of the video. What was expected to happen is to repeat without affecting the aspect ratio.

https://github.com/user-attachments/assets/fc869482-af39-4baf-ab2e-09ef794d0b44

Reproduction Link

repository link

Reproduction

Step to reproduce this bug are:

<Video ref={videoRef} source={source} paused={paused || !isActive || !screenIsFocused} playWhenInactive={false} resizeMode={'contain'} muted={muted} playInBackground={false} ignoreSilentSwitch='ignore' style={dynamicStyles.video} onProgress={onProgress} repeat={true} poster={{ source: { uri: thumbnail }, resizeMode: "contain" }} />

github-actions[bot] commented 4 hours ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

github-actions[bot] commented 4 hours ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority

github-actions[bot] commented 4 hours ago

Thank you for your issue report. Please note that the following information is missing or incomplete:

Please update your issue with this information to help us address it more effectively.

Note: issues without complete information have a lower priority