mieszko4 / react-native-zoom-us

MIT License
127 stars 118 forks source link

Expo-video is not working with react-native-zoom-us #370

Open adsalihac opened 1 week ago

adsalihac commented 1 week ago

expo-video - 2.0.1 Utilizing Media3 for Video Playback

Platform - Android only , iOS is working fine.

def androidxMedia3Version = "1.4.0"
implementation "androidx.media3:media3-session:${androidxMedia3Version}"
implementation "androidx.media3:media3-exoplayer:${androidxMedia3Version}"
implementation "androidx.media3:media3-exoplayer-dash:${androidxMedia3Version}"
implementation "androidx.media3:media3-exoplayer-hls:${androidxMedia3Version}"
implementation "androidx.media3:media3-ui:${androidxMedia3Version}"
implementation "androidx.media3:media3-datasource-okhttp:${androidxMedia3Version}"

Testing

The following code is not functioning with Expo-Video. https://github.com/mieszko4/react-native-zoom-us/blob/master/docs/TROUBLESHOOTING.md

The media3 version issue has been resolved, and the player is functioning as intended.

`def androidxMedia3Version = "1.4.1"`
implementation "androidx.media3:media3-ui:${androidxMedia3Version}" 

This module is affecting the video player and zoom module.

However, after this, the zoom initial loading screen is a white screen.

I have blocked this case. The react-native-video library lacks certain features, necessitating the use of expo-video instead.

adsalihac commented 1 week ago

Any idea about this problem @mieszko4