react-custom-videoplayer
v0.1.6
Published
Videoplayer
Downloads
3
Readme
react-custom-videoplayer
Custom React component for video playback
Install
Install using npm install react-custom-videoplayer
Usage
In a React app use the Player component:
import { Player } from 'react-custom-videoplayer'
Props
| Name | Description | Type | Example
| ----------- | ----------- | ----------- | ---
| width | Width of your player | string | width={'600'}
| height | Height of your player| string | height={'800'}
| url | URL of your video | string | url={'https://some.adress/video.mp4'}
| panelColor | Color of bottom panel| string | panelColor={'#006AB3'}
FullScreen Mode
To turn on and turn off fullscreen double click on videoplayer :)