2.2.0 • Published 6 months ago

@react-native-media-console/reanimated v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

🕹 @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

jetbrains100englishdislogo100