Using npm:
npm --save install @kinescope/react-native-kinescope-video react-native-video@^6.0.0-beta.5 @react-native-async-storage/async-storage
Using yarn:
yarn add @kinescope/react-native-kinescope-video react-native-video@^6.0.0-beta.5 @react-native-async-storage/async-storage
// file: android/build.gradle
allprojects {
repositories {
jcenter()
}
}
npx pod-install
Props including react-native-video
preload?: boolean;
videoId: string;
posterResizeMode?: ImageResizeMode;
externalId?: string;
quality?: QualityTypes;
autoSeekChangeQuality?: boolean; // default: true; iOS only
referer?: string;
drmAuthToken?: string;
Events including react-native-video
onManifestLoadStart?: () => void;
onManifestLoad?: (manifest: ManifestEventLoadTypes) => void;
onManifestError?: (error: unknown) => void;
Video ID from https://app.kinescope.io/
The video is uploading right away.
For analytics