File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
expo-package/src/optionalDependencies
native-package/src/optionalDependencies Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 33 const videoPackage = require ( 'expo-av' ) ;
44 VideoComponent = videoPackage . Video ;
55} catch ( _ ) {
6- console . log ( 'video library is not installed' ) ;
6+ console . warn (
7+ 'Video library is currently not installed. To allow in-app video playback, install the "expo-av" package.' ,
8+ ) ;
79}
810
911export default VideoComponent ;
Original file line number Diff line number Diff line change 44 const videoPackage = require ( 'react-native-video' ) ;
55 VideoComponent = videoPackage . default ;
66} catch ( _ ) {
7- console . log ( 'video library is not installed' ) ;
7+ console . warn (
8+ 'Video library is currently not installed. To allow in-app video playback, install the "react-native-video" package.' ,
9+ ) ;
810}
911
1012export default VideoComponent ;
You can’t perform that action at this time.
0 commit comments