2.0.2 • Published 9 years ago

react-native-video-cover v2.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
9 years ago

react-native-video-cover

Getting started

$ npm install react-native-video-cover --save

Mostly automatic installation

$ react-native link react-native-video-cover

Manual installation

iOS

  1. In XCode, in the project navigator, right click LibrariesAdd Files to [your project's name]
  2. Go to node_modulesreact-native-video-cover and add RNVideoCover.xcodeproj
  3. In XCode, in the project navigator, select your project. Add libRNVideoCover.a to your project's Build PhasesLink Binary With Libraries
  4. Run your project (Cmd+R)<

Android

  1. Open up android/app/src/main/java/[...]/MainActivity.java
  • Add import com.reactlibrary.RNVideoCoverPackage; to the imports at the top of the file
  • Add new RNVideoCoverPackage() to the list returned by the getPackages() method
  1. Append the following lines to android/settings.gradle:
    include ':react-native-video-cover'
    project(':react-native-video-cover').projectDir = new File(rootProject.projectDir, 	'../node_modules/react-native-video-cover/android')
  2. Insert the following lines inside the dependencies block in android/app/build.gradle:
      compile project(':react-native-video-cover')

Windows

Read it! :D

  1. In Visual Studio add the RNVideoCover.sln in node_modules/react-native-video-cover/windows/RNVideoCover.sln folder to their solution, reference from their app.
  2. Open up your MainPage.cs app
  • Add using Cl.Json.RNVideoCover; to the usings at the top of the file
  • Add new RNVideoCoverPackage() to the List<IReactPackage> returned by the Packages method

Usage

import RNVideoCover from 'react-native-video-cover';

// TODO: What do with the module?
RNVideoCover;
2.0.2

9 years ago

2.0.1

9 years ago

1.1.7

10 years ago

1.1.6

10 years ago

1.1.5

10 years ago

1.1.4

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago