nandorojo / galeria

The React (Native) Image Viewer. 📷
183 stars 9 forks source link

Support for videos #4

Open ThukuWakogi opened 5 months ago

ThukuWakogi commented 5 months ago

I've been looking for a similar package but all seem to only support images. Would it be possible to add support for videos as well?

hichemfantar commented 5 months ago

Yeah getting this to work with Expo AV, Expo Video, and react-native-video would be great.

fobos531 commented 5 months ago

https://github.com/hyperoslo/Lightbox

This library seems to include support for Videos. The library used in the android implementation seems to have video support

alantoa commented 5 months ago

Yes, for Android, I think it's relatively easy to add. However, for iOS, we might need to consider another approach.

nandorojo commented 5 months ago

perhaps there could be a GaleriaVideo component. However, the iOS Lightbox library doesn’t have shared element transitions