mirror of
https://github.com/zhigang1992/react-native-video-cache.git
synced 2026-01-12 16:42:21 +08:00
e7b353544a18e2c1170fe06ca9609526803c2a48
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] <support@github.com>
react-native-video-cache
Boost performance on online video loading and caching
Use following libraries to do the heavy lifting.
- iOS: https://github.com/ChangbaDevs/KTVHTTPCache
- Android: https://github.com/danikula/AndroidVideoCache
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';
...
const localProxiedURL = await convertToProxyURL(originalURL);
...
<Video source={{uri: localProxiedURL}} />
Description
Languages
JavaScript
34.6%
Objective-C
28.9%
Java
17.4%
Starlark
10.4%
Ruby
8.7%