-
This is a very old project from a time when there were no inline video players for React Native that had controls. But now you can easily create a player using https://docs.expo.dev/versions/latest/sdk/video/. Since I don't work with React Native anymore, what are the reasons this library is still used? Is it because of customization, or because not everyone can use Expo? I'd love to hear why you use this library instead of Expo's player. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Because not every body uses expo :) I am not an expo expert, but I think when you need to use low level api / or develop custom packages you cannot use expo. Additionnally expo-av uses exoplayer: 2.9.2 which is very very old. react-native-video has recetlly updated to 2.17.0 version. An issue with react-native-video is that embeded controls uses native player controls and they are not unified between platform. |
Beta Was this translation helpful? Give feedback.
-
With react-native-video and Expo's video player there seems to be no way to build custom playback controls because there is no play/pause method. That's why I'm using this react-native-video-player instead. |
Beta Was this translation helpful? Give feedback.
Because not every body uses expo :) I am not an expo expert, but I think when you need to use low level api / or develop custom packages you cannot use expo.
Additionnally expo-av uses exoplayer: 2.9.2 which is very very old. react-native-video has recetlly updated to 2.17.0 version.
An issue with react-native-video is that embeded controls uses native player controls and they are not unified between platform.
So I really think it makes sens to keep a reference implementation of controls.