Socket
Book a DemoInstallSign in
Socket

@react-native-media-console/reanimated

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-media-console/reanimated

A media player for the react-native-video component

latest
npmnpm
Version
2.2.4
Version published
Weekly downloads
857
6.46%
Maintainers
1
Weekly downloads
 
Created
Source

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

Keywords

react-native

FAQs

Package last updated on 02 Jun 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts