@react-native-media-console/reanimated
TypeScript icon, indicating that this package has built-in type declarations

2.2.0 • Public • Published

🕹 @react-native-media-console/reanimated

platforms GitHub issues GitHub GitHub top language Maintenance npm

Reanimated animations for react-native-media-console.

demogif

⭐️ Features

This package contains a useAnimations hook that uses react-native-reanimated for react-native-media-console.

⚙️ Installation

Run yarn add react-native-reanimated react-native-video react-native-media-console @react-native-media-console/reanimated

If you are using TypeScript, you will also need to run yarn add --dev @types/react-native-video

Then follow installation instructions from react-native-video.

🛠 Usag

// At the top where our imports are...
import VideoPlayer from 'react-native-media-console';
import {useAnimations} from '@react-native-media-console/reanimated';

// in the component's render() function
<VideoPlayer
    useAnimations={useAnimations}
    source={{uri: 'https://vjs.zencdn.net/v/oceans.mp4'}}
    navigator={props.navigator}
/>;

📃 License

📃 This project is released under the MIT License.
💻 By contributing, you agree that your contributions will be licensed under its MIT License.

🏆 Sponsors

jetbrains100 englishdislogo100

Package Sidebar

Install

npm i @react-native-media-console/reanimated

Weekly Downloads

256

Version

2.2.0

License

MIT

Unpacked Size

20.8 kB

Total Files

15

Last publish

Collaborators

  • criszz77