React native video player
A simple video player with default video player default configurations.
Props:
| Property | Type | Default | Description |
|---|---|---|---|
| src | string | null | required html src |
Include in your App
Installation
Install the npm package react-native-image-zoom. Inside your React Native project, run (example):
npm install --save react-native-image-zoomIn android/settings.gradle, remove the line include ':app' and add the following lines
include :react-native-image-zoom'
project(':react-native-image-zoom').projectDir = file('../node_modules/react-native-image-zoom/android')
NOTE : If you have included other libraries in your project, the include line will contain the other dependencies too.
In android/app/build.gradle, add a dependency to ':react-native-image-zoom'
dependencies {
compile project(':react-native-image-zoom')
}
Next, you need to change the MainActivity of your app to register ReactNativeDialogsPackage :
import com.image.zoom.ReactImageZoom; // add this import
public class MainActivity extends ReactActivity {
//...
@Override
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new ReactImageZoom() // add this manager
);
}TeamLockr video player Team Lockr video player for react native
These are functions created by the TeamLockr Team created for the TeamLockr platform.