Custom React component for video playback
Install using npm install react-custom-videoplayer
In a React app use the Player component:
import { Player } from 'react-custom-videoplayer'
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'} |
To turn on and turn off fullscreen double click on videoplayer :)