Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@react-native-media-console/reanimated

LunatiqueCoder3.1kMIT2.2.4TypeScript support: included

A media player for the react-native-video component

react-native, react-native-video, react video controls, react video player

readme

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