mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-01-11 20:10:25 +00:00
changes
This commit is contained in:
parent
e2719c373d
commit
d55143e6fb
1 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
}, [route.params]);
|
||||
// TEMP: force React Native Video for testing (disable VLC)
|
||||
const TEMP_FORCE_RNV = false;
|
||||
const TEMP_FORCE_VLC = true;
|
||||
const TEMP_FORCE_VLC = false;
|
||||
const useVLC = Platform.OS === 'android' && !TEMP_FORCE_RNV && (TEMP_FORCE_VLC || forceVlc);
|
||||
|
||||
// Log player selection
|
||||
|
|
@ -1614,7 +1614,7 @@ const AndroidVideoPlayer: React.FC = () => {
|
|||
resizeModes = ['contain', 'cover'];
|
||||
} else {
|
||||
// On Android with VLC backend, only 'none' (original) and 'cover' (client-side crop)
|
||||
resizeModes = useVLC ? ['none', 'cover'] : ['contain', 'cover', 'none'];
|
||||
resizeModes = useVLC ? ['none', 'cover'] : ['cover', 'none'];
|
||||
}
|
||||
|
||||
const currentIndex = resizeModes.indexOf(resizeMode);
|
||||
|
|
|
|||
Loading…
Reference in a new issue