# react-native-video-player-ui

> React Native Video Player UI with full screen support

Latest version **1.0.5** (published 2020-01-22) · ISC license · 0 weekly downloads

## Install

```sh
npm install react-native-video-player-ui
pnpm add react-native-video-player-ui
yarn add react-native-video-player-ui
bun add react-native-video-player-ui
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.5 |
| Published | 2020-01-22 |
| First published | 2019-12-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 24.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Paras Watts |
| Maintainers | paraswatts |
| Keywords | react, native, video, player |

## Links

- npm: https://www.npmjs.com/package/react-native-video-player-ui
- Repository: https://github.com/paraswatts/react-native-video-player-ui
- Homepage: https://github.com/paraswatts/react-native-video-player-ui#readme
- Issues: https://github.com/paraswatts/react-native-video-player-ui/issues
- npm.io page: https://npm.io/package/react-native-video-player-ui

## Alternatives

- [mobx-react](https://npm.io/package/mobx-react.md) — 2.8M weekly downloads
- [rc-tree](https://npm.io/package/rc-tree.md) — 2.6M weekly downloads
- [@react-oauth/google](https://npm.io/package/@react-oauth/google.md) — 1.3M weekly downloads
- [@wagmi/connectors](https://npm.io/package/@wagmi/connectors.md) — 877.0K weekly downloads
- [vee-validate](https://npm.io/package/vee-validate.md) — 836.4K weekly downloads

## Recent versions

- 1.0.5 (latest) — 2020-01-22
- 1.0.4 — 2020-01-22
- 1.0.3 — 2019-12-18
- 1.0.2 — 2019-12-18
- 1.0.1 — 2019-12-13
- 1.0.0 — 2019-12-13

## README

# React Native Video Player UI

A React Native video player with a few controls. This player uses
react-native-video for the video playback.

## Installation

```
npm install --save react-native-video-player-ui
react-native-video react-native-vector-icons
@react-native-community/slider
react-native-animated-hide-view
react-native-orientation-locker
Link for React-Native version<60.0
react-native link react-native-video
react-native link react-native-vector-icons
react-native link @react-native-community/slider
react-native link react-native-orientation-locker
```

## Props

| Prop              | Description                                                  |
| ----------------- | ------------------------------------------------------------ |
| videoLink         | The video source to pass to react-native-video.              |
| muted             | Start the video muted, can change by clicking volume button. |
| controlTimer      | Timeout when to hide the controls. (default is 5)            |  |
| disableFullscreen | Disable the fullscreen button.                               |
| showForward       | Show Forward Button.                                         |
| showBackward      | Show Backward Button.                                        |
| forwardTime       | Change forward time(default is 10).                          |
| backwardTime      | Change backward time(default is 10).                         |

Basic Usage

```
import React from 'react';
import {
  View,
  Text,
} from 'react-native';

import VideoPlayer from 'react-native-video-player-ui';
export default class App extends React.Component {
  render() {
    return (
      <View style={{flex: 1}}>
        <VideoPlayer
          videoLink={{
            uri:
              'http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/BigBuckBunny.mp4',
          }}
        />
      </View>
    );
  }
}
```

## Future Enhancements

- [x] Make player customizable.

---
_Source: https://npm.io/package/react-native-video-player-ui · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
