react-native-video-cache
TypeScript icon, indicating that this package has built-in type declarations

2.7.4 • Public • Published

react-native-video-cache

  • Fixed its android conflict with react native v0.67 (gradle > 0.7)

Boost performance on online video loading and caching

Use following libraries to do the heavy lifting.

Getting started

$ yarn add react-native-video-cache

Mostly automatic installation

$ react-native link react-native-video-cache

Usage

import convertToProxyURL from 'react-native-video-cache';
...
<Video source={{uri: convertToProxyURL(originalURL)}} />

Install on android

Edit your android/build.gradle file and add the following lines:

        maven {
            url "$rootDir/../node_modules/react-native-video-cache/android/libs"
        }

to your allprojects/repositories

Readme

Keywords

Package Sidebar

Install

npm i react-native-video-cache

Weekly Downloads

2,137

Version

2.7.4

License

MIT

Unpacked Size

80.2 kB

Total Files

39

Last publish

Collaborators

  • zhigang1992