Socket
Book a DemoInstallSign in
Socket

@kinescope/react-native-kinescope-video

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kinescope/react-native-kinescope-video

A <ReactNativeKinescopeVideo /> element for react-native

latest
Source
npmnpm
Version
1.3.1
Version published
Maintainers
0
Created
Source

License

React Native Kinescope Player

Installation

Using npm:

npm --save install @kinescope/react-native-kinescope-video react-native-video@6.4.2 @react-native-async-storage/async-storage

Using yarn:

yarn add @kinescope/react-native-kinescope-video react-native-video@6.4.2 @react-native-async-storage/async-storage

Useful resources

Packages storage

// file: android/build.gradle

allprojects {
    repositories {
        jcenter()
    }
}

Install iOS

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;

Configurable props

videoId

Video ID from https://app.kinescope.io/

preload

The video is uploading right away.

externalId

For analytics

fix TS2786: 'Video' cannot be used as a JSX component.

Add below in .tsconfig.json --> compilerOptions

"compilerOptions": {
    "paths": {
      "react": [ "./node_modules/@types/react" ]
    }
 }

Keywords

react-component

FAQs

Package last updated on 22 Jul 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts